Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (71 sloc) 2.64 KB
# Path to your oh-my-zsh configuration.
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
[[ $TERM == eterm-color ]] && export TERM=xterm
# Set to this to use case-sensitive completion
# Comment this out to disable weekly auto-update checks
# Uncomment following line if you want to disable colors in ls
# Uncomment following line if you want to disable autosetting terminal title.
# Uncomment following line if you want red dots to be displayed while waiting for completion
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git git-flow brew autojump gem history-substring-search rails3 osx)
source $ZSH/
# Customize to your needs...
[[ -s "/Users/tyraeltong/.rvm/scripts/rvm" ]] && source "/Users/tyraeltong/.rvm/scripts/rvm" # This loads RVM into a shell session.
export EDITOR='mate -w'
#alias ssh="ssh -X"
alias md="mkdir -p"
alias rd="rmdir"
alias df="df -h"
alias mv="mv -i"
alias slink="link -s"
alias sed="sed -E"
alias l="ls -l"
alias la="ls -lhAF"
alias ll="ls -lhF"
alias lt="ls -lhtrF"
alias l.="ls -lhtrdF .*"
alias cd..="cd .."
alias cd...="cd ../.."
alias cd....="cd ../../.."
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias zb="cat /dev/urandom | hexdump -C | grep --color=auto \"ca fe\""
alias emacs23="open -a Emacs"
alias sdedit="java -jar /Users/tyraeltong/tools/sdedit-3.1.jar"
alias gs="git status"
alias ga="git add"
alias gpl="git pull"
alias gps="git push"
alias gc="git commit -m"
alias rdm="rake db:migrate"
alias rds="rake db:seed"
alias rr="rake routes"
alias gfwfuckme="networksetup -setwebproxystate Wi-Fi off && networksetup -setsecurewebproxystate Wi-Fi off"
alias fuckgfw="networksetup -setwebproxystate Wi-Fi on && networksetup -setsecurewebproxystate Wi-Fi on"
alias spon="networksetup -setsocksfirewallproxystate Wi-Fi on"
alias spoff="networksetup -setsocksfirewallproxystate Wi-Fi off"
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
export DEV=""
export PRODWEB=""
export PRODDB=""
export LIN=""
alias myserver="ssh $LIN -p 9527"
alias pw="ssh $PRODWEB"
alias pd="ssh $PRODDB"
alias dev="ssh $DEV"
alias pru="rvm ruby-1.9.2-p180 exec pru"
alias flushmemcache="echo 'flush_all' | nc 11211"
alias rake="noglob rake"