From b83af3fc184230110d2cdb9a6557b6e68815751a Mon Sep 17 00:00:00 2001 From: Wenxuan Date: Fri, 9 Nov 2018 11:26:36 +0800 Subject: [PATCH] Don't abort before `execute` command complete. Former-commit-id: b52a7c7d0f1e836027e7fbfc387d0c3f8cc75e1d --- forgit.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgit.plugin.zsh b/forgit.plugin.zsh index 25b465a..b1420b4 100644 --- a/forgit.plugin.zsh +++ b/forgit.plugin.zsh @@ -59,7 +59,7 @@ forgit::log() { eval "git log --graph --color=always --format='%C(auto)%h%d %s %C(black)%C(bold)%cr' $@ $forgit_emojify" | forgit::fzf +s +m --tiebreak=index \ --bind="enter:execute($cmd |LESS='-R' less)" \ - --bind="ctrl-y:execute-silent(echo {} |grep -o '[a-f0-9]\{7\}' |pbcopy)+abort" \ + --bind="ctrl-y:execute-silent(echo {} |grep -o '[a-f0-9]\{7\}' |pbcopy)" \ --preview="$cmd" }