Skip to content

Instantly share code, notes, and snippets.

@chyld
Created April 7, 2014 18:56
Show Gist options
  • Save chyld/10030412 to your computer and use it in GitHub Desktop.
Save chyld/10030412 to your computer and use it in GitHub Desktop.
txtblk='\[\e[0;30m\]' # Black
txtred='\[\e[0;31m\]' # Red
txtgrn='\[\e[0;32m\]' # Green
txtylw='\[\e[0;33m\]' # Yellow
txtblu='\[\e[0;34m\]' # Blue
txtpur='\[\e[0;35m\]' # Purple
txtcyn='\[\e[0;36m\]' # Cyan
txtwht='\[\e[0;37m\]' # White
txtrst='\[\e[0m\]' # Text Reset
RVM_PATH=$HOME/.rvm/bin
GIT_PATH=/usr/local/git/bin
NODE_PATH=/usr/local/node/bin
alias l='ls -a'
alias ll='ls -alh'
alias b='cd ..'
alias c='clear'
alias code='cd ~/Documents/Code'
alias data='cd ~/Documents/Data'
export PATH=$GIT_PATH:$NODE_PATH:$RVM_PATH:$PATH
export EDITOR=vim
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PS1="$txtcyn\u$txtred@$txtgrn\h [$(getip)] $txtred\w$txtblk >$txtrst "
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment