files from dotfiles

This commit is contained in:
Robin Wenglewski 2011-09-08 10:48:39 +02:00
commit 7ccf4603a5
12 changed files with 244 additions and 0 deletions

34
aliases.zsh Normal file
View file

@ -0,0 +1,34 @@
# ls
alias l="ls -FG"
alias ls="ls -FG"
alias la="l -lAh"
alias e="$EDITOR"
# git
alias g='git'
alias gl='git pull'
alias gp='git push'
alias gph='gp && gp heroku'
alias gd='git diff'
alias gc='git clone'
alias gco='git checkout'
alias gb='git branch'
alias gs='git status'
alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm"
alias gca='grm; git add .;gs;read;git commit'
alias git-authors='git shortlog -s -n'
# alias changelog='git log `git log -1 --format=%H -- CHANGELOG*`..; cat CHANGELOG*'
# alias gf='git flow'
# rails
alias r="rails"
alias a='autotest -rails'
alias tlog='tail -f log/development.log'
alias rst='touch tmp/restart.txt'
alias bist="bundle install"
# commands starting with % for pasting from web
alias %=' '
alias sleepmac="osascript -e 'tell application \"System Events\" to sleep'"