From 2b8c2b9f2af82d251a5929d08ba81cec25587487 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 13 Feb 2014 16:47:53 +0900 Subject: [PATCH] CTRL-R for bash: Unset $HISTTIMEFORMAT --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 03e8804..82ad652 100755 --- a/install +++ b/install @@ -111,7 +111,7 @@ __fsel() { bind '"\C-t": " \C-u \C-a\C-k$(__fsel)\e\C-e\C-y\C-a\C-y\ey\C-h\C-e\er"' # CTRL-R - Paste the selected command from history into the command line -bind '"\C-r": " \C-e\C-u$(history | fzf +s | sed \"s/ *[0-9]* *//\")\e\C-e\er"' +bind '"\C-r": " \C-e\C-u$(HISTTIMEFORMAT= history | fzf +s | sed \"s/ *[0-9]* *//\")\e\C-e\er"' EOF else