diff --git a/install b/install
index 288977344f732727b82cb0c774858f81e53e548e..5328261d30219d9802a83499d741ff90e0ddbfcc 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