Add more git and basic aliases
This commit is contained in:
parent
78cecdae88
commit
4b0f050d1b
25
zsh/aliases
25
zsh/aliases
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
alias la='ls -la'
|
alias la='ls -la'
|
||||||
|
alias l.='ls -Ad .*'
|
||||||
|
alias du='du -h -d 1'
|
||||||
|
|
||||||
# Directories ##################
|
# Directories ##################
|
||||||
alias dev='cd /usr/local/dev'
|
alias dev='cd /usr/local/dev'
|
||||||
|
@ -18,15 +20,22 @@ alias v='mvim'
|
||||||
|
|
||||||
# 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
|
# I prefer to specify my own. Check gitconfig to see what
|
||||||
|
# the shorthand commands do.
|
||||||
alias g='git'
|
alias g='git'
|
||||||
alias ga='g a'
|
alias ga='git add'
|
||||||
alias gap='g a -p'
|
alias gap='git add -p'
|
||||||
alias gc='g c'
|
alias gc='git commit'
|
||||||
alias gs='g s'
|
alias gs='git s'
|
||||||
alias gd='g d'
|
alias gl='git ll'
|
||||||
alias gr='g r'
|
alias gf='git f'
|
||||||
alias gbr='g br'
|
alias gg='git grep -Ii'
|
||||||
|
|
||||||
|
alias gd='git difftool'
|
||||||
|
alias gdl="git ll -1"
|
||||||
|
|
||||||
|
alias gr='git reset'
|
||||||
|
alias gbr='git br'
|
||||||
|
|
||||||
# Laravel ######################
|
# Laravel ######################
|
||||||
# (already provided in zsh plugin)
|
# (already provided in zsh plugin)
|
||||||
|
|
Loading…
Reference in a new issue