mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
parent
095327b47d
commit
566b6470d0
|
|
@ -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)\"
|
||||
|
|
|
|||
Loading…
Reference in a new issue