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