summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2014-02-26 11:46:30 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2014-02-26 11:46:30 +0900
commit00c8a68430e232e32160e86f7e8cd8beffe1a76b (patch)
tree100a72411959cdde7b230e736fcc2e8aff45acd8
parentc1be834ff9fcbabcd536fff36f260e9641810de3 (diff)
Unalias history on zsh (related #19)
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index fe8dbe04..d7a874d7 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