29 lines
777 B
Bash
Executable File
29 lines
777 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
cp $HOME/.bash_profile $HOME/.bash_profile.bak
|
|
|
|
echo "Your original .bash_profile has been backed up to .bash_profile.bak"
|
|
|
|
cp $HOME/.bash_it/template/bash_profile.template.bash $HOME/.bash_profile
|
|
|
|
echo "Copied the template .bash_profile into ~/.bash_profile, edit this file to customize bash-it"
|
|
|
|
while true
|
|
do
|
|
read -p "Do you use Jekyll? (If you don't know what Jekyll is, answer 'n') [Y/N] " RESP
|
|
|
|
case $RESP
|
|
in
|
|
[yY])
|
|
cp $HOME/.bash_it/template/jekyllconfig.template.bash $HOME/.jekyllconfig
|
|
echo "Copied the template .jekyllconfig into your home directory. Edit this file to customize bash-it for using the Jekyll plugins"
|
|
break
|
|
;;
|
|
[nN])
|
|
break
|
|
;;
|
|
*)
|
|
echo "Please enter Y or N"
|
|
esac
|
|
done
|