diff --git a/install b/install index fe8dbe0..d7a874d 100755 --- a/install +++ b/install @@ -150,7 +150,7 @@ bindkey '\ec' fzf-cd-widget # CTRL-R - Paste the selected command from history into the command line fzf-history-widget() { - LBUFFER=$(history -$HISTSIZE | fzf +s | sed "s/ *[0-9]* *//") + LBUFFER=$('history' -$HISTSIZE | fzf +s | sed "s/ *[0-9]* *//") zle redisplay } zle -N fzf-history-widget