Restore laravel aliases and add git hard reset alias

This commit is contained in:
Henrik Lissner 2013-03-22 21:12:49 -04:00
parent c61013485f
commit 1c8d2b0a67

View file

@ -30,18 +30,24 @@ if command_exists mvim; then
else else
alias v='vim' alias v='vim'
fi fi
# iptables
if command_exists iptables; then
alias ipt='sudo iptables'
fi
alias rb='ruby' alias rb='ruby'
alias py='python' alias py='python'
alias js='node' alias js='node'
# Tmux ######################### # tmux
alias t='tmux' alias t='tmux'
alias tn='tmux new -s' alias tn='tmux new -s'
alias ta='tmux attach -t' alias ta='tmux attach -t'
alias tl='tmux list-sessions' alias tl='tmux list-sessions'
alias td='tmux detach' alias td='tmux detach'
# Git ########################## # git
# I know the git oh-my-zsh plugin has most of these, but # I know the git oh-my-zsh plugin has most of these, but
# I prefer to specify my own. Check gitconfig to see what # I prefer to specify my own. Check gitconfig to see what
# the shorthand commands do. # the shorthand commands do.
@ -57,9 +63,17 @@ alias gt='git tag'
alias gd='git difftool' alias gd='git difftool'
alias gdl="git ll -1" alias gdl="git ll -1"
alias gr='git reset' alias gr='git reset'
alias ghr='git reset --hard'
alias gbr='git br' alias gbr='git br'
# Moving around ################ # Laravel
alias artisan='php artisan'
alias bob='php artisan bob::build'
# debug
alias header='curl -I'
# directory shortcuts
alias dot='cd ~/.dotfiles' alias dot='cd ~/.dotfiles'
if command_exists "brew"; then if command_exists "brew"; then
alias brewp='cd `brew --prefix`' alias brewp='cd `brew --prefix`'