diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2014-02-13 16:47:53 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-02-13 16:47:53 +0900 |
commit | 2b8c2b9f2af82d251a5929d08ba81cec25587487 (patch) | |
tree | 2e7ade94f8187823d08a755ea3cf5b283bb036e2 | |
parent | 426284c87e0e9ff0cdcf2cb7a4fc5bd708331ace (diff) |
CTRL-R for bash: Unset $HISTTIMEFORMAT
-rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |