dotfiles/.subbash/sourcer
2021-11-22 01:43:54 +03:00

18 lines
291 B
Plaintext

so () {
[ -f "$1" ] && source "$1"
}
if [[ $0 == *bash ]]; then
so "$HOME"/.subbash/export
so "$HOME"/.subbash/shopt
fi
if [[ $- == *i* ]]; then
so "$HOME"/.subbash/prompt
so "$HOME"/.subbash/aliases
so "$HOME"/.subbash/functions
fi
so /etc/bash_completion.d/all