Unalias history on zsh (related #19)

This commit is contained in:
Junegunn Choi 2014-02-26 11:46:30 +09:00
parent c1be834ff9
commit 00c8a68430

View File

@ -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