From d30cba946f15279a6cc6a73500e470d4fce50dd9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 9 May 2025 20:05:15 +0100 Subject: [PATCH] Add `git log` abbreviations --- modules/home-manager/cli/zsh/abbreviations.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/cli/zsh/abbreviations.nix b/modules/home-manager/cli/zsh/abbreviations.nix index 83fbe5cc..5820aa5f 100644 --- a/modules/home-manager/cli/zsh/abbreviations.nix +++ b/modules/home-manager/cli/zsh/abbreviations.nix @@ -37,8 +37,11 @@ gf = "git fetch"; gfa = "git fetch --all"; gl = "git log"; + glg = "git log --grep"; glo = "git log --oneline"; - gls = "git log --stat"; + glog = "git log --oneline --grep"; + glos = "git log --oneline -S"; + gls = "git log -S"; gm = "git merge"; gmf = "git merge --ff"; gmnf = "git merge --no-ff";