shell/+fzf/bin/fzf-git-log: use gui-fzf

This commit is contained in:
Henrik Lissner 2017-04-26 23:26:29 -04:00
parent 91dc932353
commit 035f7731a7

View file

@ -2,7 +2,7 @@
git log --graph --color=always \ git log --graph --color=always \
--format="%C(auto)%h%d %s %C(black)%C(bold)%cr" "$@" | --format="%C(auto)%h%d %s %C(black)%C(bold)%cr" "$@" |
fzf --ansi --no-sort --reverse --tiebreak=index --bind=ctrl-s:toggle-sort \ gui-fzf --ansi --no-sort --tiebreak=index --bind=ctrl-s:toggle-sort \
--bind "ctrl-m:execute: --bind "ctrl-m:execute:
(grep -o '[a-f0-9]\{7\}' | head -1 | (grep -o '[a-f0-9]\{7\}' | head -1 |
xargs -I % sh -c 'git show --color=always % | less -R') << 'FZF-EOF' xargs -I % sh -c 'git show --color=always % | less -R') << 'FZF-EOF'