From 12ce76b56a769a7a9845ba98bf019a0a0e811ba1 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 3 Jun 2019 18:46:01 +0900 Subject: [PATCH] [bash] Make sure to execute builtin history Fix #1592 --- shell/key-bindings.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash index be24dec..2ecf685 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