Merge pull request #37 from wellle/zsh-history

Feed all zsh history into fzf
This commit is contained in:
Junegunn Choi 2014-04-03 23:14:28 +09:00
commit 8b80136a87

View File

@ -172,7 +172,7 @@ fda() {
# fh - repeat history
fh() {
eval $(history | fzf +s | sed 's/ *[0-9]* *//')
eval $(('fc' -l 1 || 'history') | fzf +s | sed 's/ *[0-9]* *//')
}
# fkill - kill process