Jelajahi Sumber

using_oh_my_zsh: add more shortcuts for git

cinaeco 13 tahun lalu
induk
melakukan
807e384653
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 5 1
      zsh/zshrc.ohmyzsh

+ 5 - 1
zsh/zshrc.ohmyzsh

@@ -69,10 +69,14 @@ alias ln='nocorrect ln'
 ## host file
 ## host file
 alias hosts='vim /etc/hosts'
 alias hosts='vim /etc/hosts'
 
 
-## additional git shortcuts not in the git plugin
+## preferred git shortcuts not in the git plugin
+alias ga.='git add .'
 alias gs='git status'
 alias gs='git status'
 alias gd='git diff'
 alias gd='git diff'
 alias gds='git diff --staged'
 alias gds='git diff --staged'
+alias gl='git log --pretty=oneline'
+alias gls='git log --stat'
+alias glg='git log --graph'
 
 
 #############
 #############
 # SSH AGENT #
 # SSH AGENT #