Skip to content

Instantly share code, notes, and snippets.

@jankeesvw
Created March 21, 2012 09:43
Show Gist options
  • Save jankeesvw/2145844 to your computer and use it in GitHub Desktop.
Save jankeesvw/2145844 to your computer and use it in GitHub Desktop.
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# 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.
ZSH_THEME="robbyrussell"
# ### System specific aliases ###
alias l="ls -alG"
alias restartapache="sudo apachectl restart"
alias cleanFDT="cd /Applications/FDTEnterprise/Eclipse.app/Contents/MacOS/; ./eclipse -clean"
alias aliases="mate -w ~/bin/; source ~/.profile;"
alias zipper="ditto -c -Vk --sequesterRsrc --keepParent "
alias finderS='defaults write com.apple.Finder AppleShowAllFiles TRUE; killAll Finder'
alias finderH='defaults write com.apple.Finder AppleShowAllFiles FALSE; killAll Finder'
alias compc="~/Documents/work/Flash/FlexSDK/flex_sdk_4/bin/compc"
alias removesvn="find ./ -name \".svn\" | xargs rm -Rf"
alias myip="echo `curl -s 'http://checkip.dyndns.org' | sed 's/.*Current IP Address: \([0-9\.\.]*\).*/\1/g'`"
alias hosts="mate /etc/hosts"
alias flushdns="dscacheutil -flushcache"
### Git aliases ###
alias "gittree"="git log --pretty=oneline --abbrev-commit --branches=* --graph --decorate"
alias gac="git add .;git commit -a -v" #git add and commit
alias gl="git log --pretty=format:'%h - %an, %ar: %s'" # show a nice log: 'Jankees van Woezik, 3 days ago : Log meisters readme file'
alias gs="git status"
alias gm="git checkout master"
alias gx="gitx --all"
alias gb="git branch -a"
alias gt="git for-each-ref --sort='*authordate' --format='%(refname:short)' refs/tags"
alias grs="git flow release start"
alias grf="git flow release finish"
alias ignoredefault="echo -e '\n.DS_Store\n.svn\n*.iws\n*.ipr\n*.iml\n' >> .gitignore";
#### PROJECTS SPECIFIC ALIASES ####
alias work="cd ~/Documents/work/"
alias blond="cd /Users/jankees/Documents/work/Blond2011/05_development"
alias base42="cd /Users/jankees/Documents/work/Base42/"
alias willitfit="cd /Users/jankees/Documents/work/TwelveTwenty/will-it-fit"
alias twelve-site="cd /Users/jankees/Documents/work/TwelveTwenty/twelve-twenty-site"
alias tt="cd /Users/jankees/Documents/work/TwelveTwenty/"
alias uberlayer="cd /Users/jankees/Documents/work/TwelveTwenty/layers"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git ant brew bundler git-flow github history-substring-search osx python rake ruby)
ZSH_THEME=juanghurtado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment