generally allow different/ custom bash aliases files

This commit is contained in:
fabian 2022-09-24 14:52:22 +02:00
parent 4ac6ee989c
commit 07e0ac53a2

View File

@ -134,16 +134,12 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
# See /usr/share/doc/bash-doc/examples in the bash-doc package. # See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases source ~/.bash_aliases
fi fi
if [ -f ~/.bash_aliases_extra ]; then for file in ~/.bash_aliases_*; do
. ~/.bash_aliases_extra source $file
fi done
if [ -f ~/.bash_aliases_local ]; then
. ~/.bash_aliases_local
fi
# enable programmable completion features (you don't need to enable # enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile # this, if it's already enabled in /etc/bash.bashrc and /etc/profile