Skip to content

Instantly share code, notes, and snippets.

@1000hz
Created December 10, 2013 17:46
Show Gist options
  • Save 1000hz/7894855 to your computer and use it in GitHub Desktop.
Save 1000hz/7894855 to your computer and use it in GitHub Desktop.
.bash_profile
export PATH=":/usr/local/share/npm/bin:~/bin:/usr/local/sbin:~/bin:/usr/local/bin:$PATH"
export JRUBY_OPTS="-J-XX:PermSize=512m -J-XX:MaxPermSize=768m -J-server -J-Xmx2048m -J-Xms1024m"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
#rvm use ruby-1.9.2-p180@spiceworks-app
rvm 1.9.3
source ~/.git-completion.bash
#display terminal colors by default
export CLICOLOR=1
export LSCOLORS=dxfxcxdxbxegedabagacad
#export PS1='\[\e[1;33m\]\w/\[\e[m\] \[\e[0:37m\]`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/[\\\\\1]\ /`\[\e[m\]\[\e[0:32m\]$ \[\e[m\]'
export PS1='\[\e[0:35m\]⌘\[\e[0m\] \[\e[1;36m\]\w/\[\e[0m\] \[\e[0:33m\]`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\[\e[m\]'
alias kr='killall -9 ruby'
alias kj='sudo killall java'
alias spytunes='lsof |grep iTunes |grep TCP'
alias app='cd ~/src/spiceworks'
alias cm='cd ~/src/community'
alias app-start='app; rake server:start;'
alias app-log='tail -f ~/src/spiceworks/log/development.log'
alias app-console='app; ./script/console'
alias cm-log='tail -f ~/src/community/log/development.log'
alias trin='cm; bundle exec trinidad'
alias hosts='mate /etc/hosts'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment