We do insist though, you locate us at ~/.bash_it

pull/174/head
nickl- 2012-12-06 16:17:06 +02:00
parent 19fe69e566
commit bb1452bb84
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ BASH_IT=$(cd ${0%/*} && echo ${PWD})
cd "${OLDPWD}"
cp "${HOME}/.bash_profile" "${HOME}/.bash_profile.bak"
[[ "${BASH_IT}" != "${HOME}/.bash_it" ]] && cp -Rf "${BASH_IT}" "${HOME}/.bash_it"
BASH_PROFILE_BAK="${HOME}/.bash_profile.bak"
if [ -f "${BASH_PROFILE_BAK}" ]; then
list=($(ls "${BASH_PROFILE_BAK}"*))