Skip to content

Instantly share code, notes, and snippets.

@frankrowe
Last active December 20, 2015 12:29
Show Gist options
  • Save frankrowe/6131687 to your computer and use it in GitHub Desktop.
Save frankrowe/6131687 to your computer and use it in GitHub Desktop.
- prompt: user@pwd >_ - sets terminal tab title to pwd (~ = home)
# Git aliases
alias gita='git add'
alias gitc='git commit -m'
alias gits='git status'
alias gitl='git log --oneline --color'
alias gitb='git branch --color'
alias gitu='git reset --HEAD^'
# Other Aliases
alias ls='ls -G'
export COLOR_NC='\e[0m' # No Color
export COLOR_WHITE='\e[1;37m'
export COLOR_GREEN='\e[0;32m'
export COLOR_CYAN='\e[0;36m'
export PS1="${COLOR_CYAN}\u${COLOR_WHITE}@${COLOR_GREEN}\w ${COLOR_WHITE}>_ \[${COLOR_NC}\]"
export PATH=/usr/local:$PATH
export PATH=/usr/local/sbin:$PATH
export PATH="/usr/local/git/bin:/usr/local/sbin:~/bin:$PATH"
PROMPT_COMMAND='echo -ne "\033]0; ${PWD/#${HOME}/~}\007"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment