From 5b839bc34cbbe500774e70606aff5c191393a88f Mon Sep 17 00:00:00 2001 From: Christopher Apple Date: Thu, 9 Apr 2020 09:22:16 -0700 Subject: [PATCH] fixed git stash show --- forgit.plugin.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgit.plugin.fish b/forgit.plugin.fish index 5b31ae7..f67e4a3 100755 --- a/forgit.plugin.fish +++ b/forgit.plugin.fish @@ -163,7 +163,7 @@ end # git stash viewer function forgit::stash::show forgit::inside_work_tree || return 1 - set cmd "git stash show (echo {}| cut -d: -f1) --color=always --ext-diff | $forgit_pager" + set cmd "echo {} |cut -d: -f1 |xargs -I% git stash show --color=always --ext-diff % |$forgit_pager" set opts " $FORGIT_FZF_DEFAULT_OPTS +s +m -0 --tiebreak=index --bind=\"enter:execute($cmd |env LESS='-R' less)\"