From 97de919152766d8bd5a336f766549f73f7f047b2 Mon Sep 17 00:00:00 2001 From: Christian Wellenbrock Date: Thu, 3 Apr 2014 13:12:02 +0200 Subject: [PATCH] Feed all zsh history into fzf --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cbce8c2..db03602 100644 --- a/README.md +++ b/README.md @@ -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