if [[ $- != *i* ]] ; then # Shell is non-interactive. Be done now! return fi export LC_ALL=en_US.UTF-8 alias clr="echo -ne '\033c'" alias mv="mv -i" alias cp="cp -i" export history_control=ignoreboth export command_oriented_history export HISTIGNORE='&:[bf]g:exit:ls' shopt -s extglob shopt -s cmdhist shopt -s histappend shopt -s no_empty_cmd_completion shopt -s checkwinsize eval "$(dircolors -b)" 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 . ~/src/git-prompt/git-prompt.sh