diff --git a/shell/fzf b/shell/fzf index 9a090ca..c42db53 100755 --- a/shell/fzf +++ b/shell/fzf @@ -22,7 +22,7 @@ function fzcd() { } function fzgit() { - git log --oneline --decorate --color | fzf --ansi --preview 'git show $(echo {} | cut -d" " -f1)' + git log --oneline --decorate --color "${@}" | fzf --ansi --preview 'git show $(echo {} | cut -d" " -f1)' } # vim: ft=bash