From e8be3c170d9346fa2dd0fce151ea6f6fc0250bc6 Mon Sep 17 00:00:00 2001 From: Martin Delille Date: Sat, 20 Feb 2021 18:59:24 +0100 Subject: [PATCH] Add glom: git log --oneline --decorate --color $(git_main_branch) --- plugins/git/README.md | 1 + plugins/git/git.plugin.zsh | 1 + 2 files changed, 2 insertions(+) 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(){