diff --git a/.config/fish/conf.d/fzf.fish b/.config/fish/conf.d/fzf.fish index 5383909..3667327 100644 --- a/.config/fish/conf.d/fzf.fish +++ b/.config/fish/conf.d/fzf.fish @@ -39,11 +39,11 @@ function __fzf_git_log echo '__fzf_search_git_log: Not in a git repository!' >&2 else set -l output ( - command git logsearch | + git logsearch | fzf \ --ansi \ --tiebreak=index \ - --preview='git show --color {2}' \ + --preview='git show {2} | delta' \ --preview-window='right,70%,wrap,hidden,<200(bottom,50%)' \ --bind='?:toggle-preview' \ --header='? to preview'