# .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # ASCII COLORS red='\[\033[0;31m\]' RED='\[\033[1;31m\]' green='\[\033[0;32m\]' GREEN='\[\033[1;32m\]' yellow='\[\033[0;33m\]' YELLOW='\[\033[1;33m\]' blue='\[\033[0;34m\]' BLUE='\[\033[1;34m\]' magenta='\[\033[0;35m\]' MAGENTA='\[\033[1;35m\]' cyan='\[\033[0;36m\]' CYAN='\[\033[1;36m\]' white='\[\033[0;37m\]' WHITE='\[\033[1;37m\]' NC='\[\033[0m\]' export EDITOR="vim" # if we use git prompt, override so we get the current PS1 set # GET: git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1 export GIT_PROMPT_ONLY_IN_REPO=1 export GIT_PROMPT_LEADING_SPACE=0 export GIT_PROMPT_START="[$yellow\t$NC][$GREEN\u$NC@$RED\H$NC:$BLUE\w$NC][$cyan\j$NC]{_LAST_COMMAND_INDICATOR_$ResetColor}" export GIT_PROMPT_END='\$ ' source ~/.bash-git-prompt/gitprompt.sh