Revert "Revert "rename reload to reload_bash""

This reverts commit c3d236f7.
parent be61513a
......@@ -320,15 +320,13 @@ treecd () {
echo "${PWD}" > ${HOME}/.lastpwd
}
if grep -q reload= <(alias) || grep -q ^reload <(declare -f); then
reload () {
#xk2c from commandlinefu.com
builtin unalias -a
builtin unset -f $(builtin compgen -A function)
[[ -f /etc/bash_completion ]] && source /etc/bash_completion
source ${HOME}/.bashrc
}
fi
reload_bash () {
#xk2c from commandlinefu.com
builtin unalias -a
builtin unset -f $(builtin compgen -A function)
[[ -f /etc/bash_completion ]] && source /etc/bash_completion
source ${HOME}/.bashrc
}
[[ ${PATH} != *games* && -d /usr/games/ ]] && \
export PATH="${PATH}:/usr/games/:/usr/local/games/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment