From ed13fc8618c05a12fc864d4fb835131b05d50eb5 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 29 May 2014 11:12:48 +0900 Subject: [PATCH] Fix fzf-history-widget (#48) --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index aaf75617..cee9e6be 100755 --- a/install +++ b/install @@ -216,7 +216,7 @@ bindkey '\ec' fzf-cd-widget # CTRL-R - Paste the selected command from history into the command line fzf-history-widget() { - LBUFFER=$(fc -l 1 | fzf +s | sed "s/ *[0-9]*\*\? *//") + LBUFFER=$(fc -l 1 | fzf +s | sed "s/ *[0-9*]* *//") zle redisplay } zle -N fzf-history-widget