From f311f52b11ac29e3bddf0d0f47316cd06fa0f208 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Tue, 17 Jun 2025 07:23:25 +0000 Subject: Add git log shortcuts --- fish/functions/gglog.fish | 4 ++++ fish/functions/gl3.fish | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 fish/functions/gglog.fish create mode 100644 fish/functions/gl3.fish diff --git a/fish/functions/gglog.fish b/fish/functions/gglog.fish new file mode 100644 index 0000000..883b695 --- /dev/null +++ b/fish/functions/gglog.fish @@ -0,0 +1,4 @@ +function gglog --wraps='git log --graph --pretty --all' --description 'alias gglog git log --graph --pretty --all' + git log --graph --pretty --all $argv + +end diff --git a/fish/functions/gl3.fish b/fish/functions/gl3.fish new file mode 100644 index 0000000..a33d7f7 --- /dev/null +++ b/fish/functions/gl3.fish @@ -0,0 +1,4 @@ +function gl3 --wraps='git log -3' --description 'alias gl3 git log -3' + git log -3 $argv + +end -- cgit v1.2.3