Mark Szymanski | d82d8fb | 2011-06-28 00:22:43 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | cp $HOME/.bash_profile $HOME/.bash_profile.bak |
| 4 | |
| 5 | echo "Your original .bash_profile has been backed up to .bash_profile.bak" |
| 6 | |
| 7 | cp $HOME/.bash_it/template/bash_profile.template.bash $HOME/.bash_profile |
| 8 | |
| 9 | echo "Copied the template .bash_profile into ~/.bash_profile, edit this file to customize bash-it" |
| 10 | |
| 11 | while true |
| 12 | do |
| 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 |
| 28 | done |