Commits

tednaleid committed 5b05fcd

adding rvm loading at startup

  • Participants
  • Parent commits 69c4727

Comments (0)

Files changed (1)

File zshrc_general

 alias -g L='| less'
 alias -g PBC='| pbcopy'
 
+
+alias sortlssize='sort -k 5 -n'
+
 alias cutcol=pc
 pc() { awk "{print \$$1}" }  # print column
 
 alias pyg='pygmentize -l ruby -P "style=native" -f rtf -o out.rtf '
 
 alias jsonpretty='curl "$*" | python -mjson.tool | pygmentize -l javascript'
+alias pbjsonpretty='pbpaste | python -mjson.tool | pygmentize -l javascript'
 
 alias ec2i=ec2_instance_info
 function ec2_instance_info() {
 
 ## VERSION CONTROL ############################################################################################################
 
+alias gs="git status --short"
+alias grh="git reset --hard"
+
+
 alias svn14="/usr/bin/svn"
 alias ss="svn status"
 alias hs="hg status -S"
 alias rabbitmqstart='launchctl start com.rabbitmq.rabbitmq-server'
 alias rabbitmqstop='launchctl stop com.rabbitmq.rabbitmq-server'
 alias rabbitmqstatus='rabbitmqctl status'
+
+
+## RUBY #############################################################################################################
+
+# rvm loading
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
+