Skip to content

Instantly share code, notes, and snippets.

@wayneseymour
Last active August 29, 2015 13:56
Show Gist options
  • Save wayneseymour/8970659 to your computer and use it in GitHub Desktop.
Save wayneseymour/8970659 to your computer and use it in GitHub Desktop.
alias c='pushd'
alias d='popd'
alias cdev='c ~/dev > /dev/null'
alias cdown='c /Users/wayne/Downloads > /dev/null'
alias cfs='c /Users/wayne/dev/lrn/node/rest/fake-service > /dev/null'
alias cl='clear'
alias cll='cl; ll'
alias ea='c ~ > /dev/null; vim .bash_profile; d > /dev/null'
alias gb='git branch'
alias gs='cl; git status'
alias h='history'
alias l='cl; ls'
alias ll='cl; ls -la'
alias n='node'
alias rs='c ~ > /dev/null; . .bash_profile; d > /dev/null'
alias v='vim'
alias g=grunt
#export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
#export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \$ "
#export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\] \[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \$ "
#export PS1="\[$(tput bold)\]\[$(tput setaf 5)\]\u\[$(tput sgr0)\] @\[\033[32m\] \[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \$ "
# Custom bash prompt via kirsle.net/wizards/ps1.html
# export PS1="\[$(tput bold)\]\[$(tput setaf 7)\]\u\[$(tput setaf 4)\]@\[$(tput setaf 1)\]\w\[$(tput setaf 3)\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2))\[$(tput sgr0)\] \$ "
export PS1="\[$(tput bold)\]\[$(tput setaf 4)\]\u\[$(tput sgr0)\]\[$(tput setaf 4)\]@\[$(tput setaf 1)\] \w\[$(tput setaf 3)\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2))\[$(tput sgr0)\] \$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
alias watch='g watch'
alias ct='c ~/dev/test > /dev/null'
alias testbrowser='open -a "Google Chrome" --args --profile-directory=EmptyUser'
alias crep='c ~/Documents/dev/repos > /dev/null'
set -o vi
source ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment