Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added some aliases.

  • Loading branch information...
commit b291d5ee0a9880980a5f9e740284b603bfe6f0a7 1 parent 34fbe41
@jnunemaker authored
Showing with 12 additions and 13 deletions.
  1. +12 −13 bash/aliases
View
25 bash/aliases
@@ -4,6 +4,8 @@ alias ee="$EDITOR ~/bin/dotfiles/bash/env && reload"
alias droid='say -v "Cellos"'
+alias '..'='cd ..'
+
alias v='vagrant'
# Bundler
@@ -13,28 +15,23 @@ alias bu='bundle update'
alias pass='passenger start'
-# Processes
-alias tu='top -o cpu'
-alias tm='top -o vsize'
-
alias h='heroku'
alias pam='polyamory'
-alias code='cd ~/dev/ruby/code'
-alias repos='cd ~/dev/repos'
+alias repos='cd ~/repos'
alias proj='cd ~/projects'
-alias clone='cd ~/dev/repos && git clone $1'
+alias clone='cd ~/repos && git clone $1'
# Projects
-alias sp='cd ~/Sites/speakerdeck'
-alias ga='cd ~/Sites/gauges'
-alias harm='cd ~/Sites/harmony'
+alias sp='cd ~/projects/speakerdeck'
+alias ga='cd ~/projects/gauges'
+alias harm='cd ~/projects/harmony'
alias mm='cd ~/projects/mongomapper'
alias ad='cd ~/projects/adapter'
alias ts='cd ~/projects/toystore'
alias tmo='cd ~/projects/toystore-mongo'
alias plu='cd ~/projects/plucky'
alias joint='cd ~/projects/joint'
-alias driver='cd ~/dev/repos/mongo-ruby-driver'
+alias bonds='cd ~/projects/bonds'
# General
alias l='ls -lah'
@@ -50,7 +47,7 @@ alias gl='git log'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gcam='git commit --amend'
-alias gd='git diff | mate'
+alias gd='git diff'
alias gp='git pull'
alias gpr='git pull --rebase'
alias gpu='git push'
@@ -71,13 +68,15 @@ alias memstart='launchctl load -w ~/Library/LaunchAgents/com.danga.memcached.pli
alias memstop='launchctl unload -w ~/Library/LaunchAgents/com.danga.memcached.plist'
alias redstart='launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist'
alias redstop='launchctl unload -w ~/Library/LaunchAgents/io.redis.redis-server.plist'
+alias pgstart='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
+alias pgstop='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
# SVN
alias svnclear='find . -name .svn -print0 | xargs -0 rm -rf'
alias svnaddall='svn status | grep "^\?" | awk "{print \$2}" | xargs svn add'
# RUBY
-alias ge='gem edit'
+alias ge='gem open' # gem install gem-browse
alias irb='irb --readline -r irb/completion'
alias i='irb -rubygems'
alias ss='script/server'
Please sign in to comment.
Something went wrong with that request. Please try again.