alias ll='ls -al' alias la='ls -A' alias l='ls -CF' if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi 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 # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' export VISUAL=vim export EDITOR="$VISUAL" # gitprompt configuration # INSTALL https://github.com/magicmonty/bash-git-prompt.git # Set config variables first GIT_PROMPT_ONLY_IN_REPO=1 GIT_PROMPT_SHOW_UPSTREAM=1 GIT_PROMPT_FETCH_REMOTE_STATUS=1 # uncomment to avoid fetching remote status # GIT_PROMPT_START=... # uncomment for custom prompt start sequence # GIT_PROMPT_END=... # uncomment for custom prompt end sequence # as last entry source the gitprompt script # GIT_PROMPT_THEME=Custom # use custom .git-prompt-colors.sh GIT_PROMPT_THEME=Solarized # use theme optimized for solarized color scheme source ~/.bash-git-prompt/gitprompt.sh export PATH=~/bin:$PATH