diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2014-02-25 23:41:54 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-02-25 23:41:54 +0900 |
commit | c1be834ff9fcbabcd536fff36f260e9641810de3 (patch) | |
tree | 6ed657221fe0384702b6e3a15b845a535483a50f | |
parent | 1c94fef72066f01a0f8e74086c976b91dc3dd36a (diff) | |
parent | 2c0dc2f3b180744e2655b6823b3983bb0eba7ba3 (diff) |
Merge pull request #19 from wellle/zsh_history
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 |