blob: 74f32520238ed7be372682d274a88a3a6402f462 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
if [ -f ~/.profile ]; then
. ~/.profile
fi
# If the shell is interactive and .bashrc exists, get the aliases and functions
if [[ $- == *i* && -f ~/.bashrc ]]; then
# Enable programmable completion features
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
. ~/.bashrc
fi
|