diff options
author | Christian Wellenbrock <christian.wellenbrock@gmail.com> | 2014-02-25 15:40:52 +0100 |
---|---|---|
committer | Christian Wellenbrock <christian.wellenbrock@gmail.com> | 2014-02-25 15:40:52 +0100 |
commit | 2c0dc2f3b180744e2655b6823b3983bb0eba7ba3 (patch) | |
tree | 6ed657221fe0384702b6e3a15b845a535483a50f | |
parent | 1c94fef72066f01a0f8e74086c976b91dc3dd36a (diff) |
Feed all zsh history into fzf (not only most recent)
-rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | fzf +s | sed "s/ *[0-9]* *//") + LBUFFER=$(history -$HISTSIZE | fzf +s | sed "s/ *[0-9]* *//") zle redisplay } zle -N fzf-history-widget |