Skip to content

Instantly share code, notes, and snippets.

@djoeman84
Created October 22, 2016 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djoeman84/66ad54d6634b715e2401895e2263b541 to your computer and use it in GitHub Desktop.
Save djoeman84/66ad54d6634b715e2401895e2263b541 to your computer and use it in GitHub Desktop.
COLOR_BLACK="\[\033[0;30m\]"
COLOR_RED="\[\033[0;31m\]"
COLOR_GREEN="\[\033[0;32m\]"
COLOR_YELLOW="\[\033[0;33m\]"
COLOR_BLUE="\[\033[0;34m\]"
COLOR_MAGENTA="\[\033[0;35m\]"
COLOR_CYAN="\[\033[0;36m\]"
COLOR_WHITE="\[\033[0;37m\]"
PINK="\[\033[0;35m\]"
GREEN="\[\033[0;32m\]"
END_COLOR="\[\033[0m\]"
PS1="${COLOR_MAGENTA}{ \W }${END_COLOR}${COLOR_GREEN} \$(git rev-parse --abbrev-ref HEAD 2> /dev/null || echo "")${END_COLOR} » "
GIT_EDITOR=vim
EDITOR=vim
VISUAL=vim
alias l="ls -CF"
alias ll="ls -lAh"
alias la="ls -A"
test -f ~/.profile && . ~/.profile
test -f ~/.bashrc && . ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment