Skip to content

Commit

Permalink
[bash] Make sure to execute builtin history
Browse files Browse the repository at this point in the history
Fix #1592
  • Loading branch information
junegunn committed Jun 3, 2019
1 parent 0030d18 commit 12ce76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/key-bindings.bash
Expand Up @@ -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
Expand Down

0 comments on commit 12ce76b

Please sign in to comment.