소스 검색

using_oh_my_zsh: add more shortcuts for git

cinaeco 13 년 전
부모
커밋
807e384653
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      zsh/zshrc.ohmyzsh

+ 5 - 1
zsh/zshrc.ohmyzsh

@@ -69,10 +69,14 @@ alias ln='nocorrect ln'
 ## host file
 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 gd='git diff'
 alias gds='git diff --staged'
+alias gl='git log --pretty=oneline'
+alias gls='git log --stat'
+alias glg='git log --graph'
 
 #############
 # SSH AGENT #