diff --git a/plugins/git/README.md b/plugins/git/README.md index 894312046..81be6f663 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -105,6 +105,7 @@ plugins=(... git) | `glo` | `git log --oneline --decorate` | | `glog` | `git log --oneline --decorate --graph` | | `gloga` | `git log --oneline --decorate --graph --all` | +| `glom` | `git log --oneline --decorate --color $(git_main_branch)..` | | `glp` | `git log --pretty=` | | `glg` | `git log --stat` | | `glgp` | `git log --stat --patch` | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 5f5819ee7..242471552 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -237,6 +237,7 @@ alias glol='git log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgre alias glo='git log --oneline --decorate' alias glog='git log --oneline --decorate --graph' alias gloga='git log --oneline --decorate --graph --all' +alias glom='git log --oneline --decorate --color $(git_main_branch)..' # Pretty log messages function _git_log_prettily(){