Feed all zsh history into fzf

This commit is contained in:
Christian Wellenbrock 2014-04-03 13:12:02 +02:00
parent 0eafa725b9
commit 97de919152

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