From 10ef02c4218c2f2422331ee5b79e77586639ce8a Mon Sep 17 00:00:00 2001 From: druckdev Date: Sat, 19 Dec 2020 02:29:51 +0100 Subject: [PATCH] zsh:glog: Support arguments Arguments given to `glog` are directly passed to the `git log` call that populates the commit list. Useful for example for specifying the commit/branch. --- .config/zsh/autoload/glog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/autoload/glog b/.config/zsh/autoload/glog index fb782b7..435f627 100755 --- a/.config/zsh/autoload/glog +++ b/.config/zsh/autoload/glog @@ -87,7 +87,7 @@ fi # Display an ascii graph of the commits in the above format and pipe that into # fzf. -git log "$formatshort" --graph "$dateshort" --color=always \ +git log "$formatshort" --graph "$dateshort" --color=always "$@" \ | fzf "${fzf_args[@]}" return 0