blob: 3fc647b409c7dcd1af270f4c9b496c9072122f0b [file] [log] [blame]
Mark Szymanskid82d8fb2011-06-28 00:22:43 -05001#!/usr/bin/env bash
2
3cp $HOME/.bash_profile $HOME/.bash_profile.bak
4
5echo "Your original .bash_profile has been backed up to .bash_profile.bak"
6
7cp $HOME/.bash_it/template/bash_profile.template.bash $HOME/.bash_profile
8
9echo "Copied the template .bash_profile into ~/.bash_profile, edit this file to customize bash-it"
10
11while true
12do
13 read -p "Do you use Jekyll? (If you don't know what Jekyll is, answer 'n') [Y/N] " RESP
14
15 case $RESP
16 in
17 [yY])
18 cp $HOME/.bash_it/template/jekyllconfig.template.bash $HOME/.jekyllconfig
19 echo "Copied the template .jekyllconfig into your home directory. Edit this file to customize bash-it for using the Jekyll plugins"
20 break
21 ;;
22 [nN])
23 break
24 ;;
25 *)
26 echo "Please enter Y or N"
27 esac
28done