From b35ef3603fc012e14d8bbeda02d86c5884e59993 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 19 Jan 2023 03:16:33 +0100 Subject: [PATCH] zsh:alias: Add `gla` for glog --branches --remotes Sometimes I want to see other branches but the repository is too big for `--graph`. Add `gla` as alias to `glog --branches --remotes` similar to `glll`. Add `glla` as further alias to `glll` and make the brace expansion more verbose for better readability. --- .config/zsh/zshrc.d/30-alias.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/zsh/zshrc.d/30-alias.zsh b/.config/zsh/zshrc.d/30-alias.zsh index b4e1d7b..8374cac 100644 --- a/.config/zsh/zshrc.d/30-alias.zsh +++ b/.config/zsh/zshrc.d/30-alias.zsh @@ -69,8 +69,9 @@ fi alias gf='git fetch' alias gha='git add -p' alias gl='glog' + alias gla='glog --branches --remotes' alias gll='glog --graph' - alias gl{ll,ogg}='glog --graph --branches --remotes' + alias {glll,glla,glogg}='glog --graph --branches --remotes' alias gp='git push' alias gpull='git pull' alias gpush='git push'