diff --git a/install.sh b/install.sh index 312a02ae..4630b211 100755 --- a/install.sh +++ b/install.sh @@ -3,13 +3,15 @@ BASH_IT=$(cd ${0%/*} && echo ${PWD}) cd "${OLDPWD}" cp "${HOME}/.bash_profile" "${HOME}/.bash_profile.bak" -cp "${HOME}/.bash_it/template/bash_profile.template.bash" "${HOME}/.bash_profile" +echo "Your original .bash_profile has been backed up to .bash_profile.bak" + +cp "${BASH_IT}/template/bash_profile.template.bash" "${HOME}/.bash_profile" 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" + cp "${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