Skip to content

Instantly share code, notes, and snippets.

@chyld
Created May 5, 2014 15:18
Show Gist options
  • Save chyld/9ddad52895f08b98870d to your computer and use it in GitHub Desktop.
Save chyld/9ddad52895f08b98870d 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
MONGO_PATH=/Users/chyld/Documents/MongoDB/mongodb/bin
export PATH=$GIT_PATH:$NODE_PATH:$RVM_PATH:$MONGO_PATH:$PATH
export EDITOR=vim
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PS1="$txtcyn\u$txtred@$txtgrn\h $txtred\w$txtblk >$txtrst "
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias l='ls -a'
alias ll='ls -alh'
alias b='cd ..'
alias c='clear'
alias code='cd ~/Documents/Code'
alias data='cd ~/Documents/Data'
alias dsstore='find . -name ".DS_Store" -delete'
alias m='mongo'
alias sm='mongod -f ~/.mongodb.conf'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment