summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2019-06-03 18:46:01 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2019-06-03 18:46:01 +0900
commit12ce76b56a769a7a9845ba98bf019a0a0e811ba1 (patch)
treead4677c3e850e2dcc8169e20dd8306755a940a29 /shell
parent0030d184481686384676537857614977e1fd2f94 (diff)
[bash] Make sure to execute builtin history
Fix #1592
Diffstat (limited to 'shell')
-rw-r--r--shell/key-bindings.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash
index be24dec6..2ecf685f 100644
--- a/shell/key-bindings.bash
+++ b/shell/key-bindings.bash
@@ -55,7 +55,7 @@ __fzf_history__() (
local line
shopt -u nocaseglob nocasematch
line=$(
- HISTTIMEFORMAT= history |
+ HISTTIMEFORMAT= builtin history |
FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS --tac --sync -n2..,.. --tiebreak=index --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS +m" $(__fzfcmd) |
command grep '^ *[0-9]') &&
if [[ $- =~ H ]]; then