diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-12-09 00:02:35 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-12-09 00:02:35 +0900 |
commit | 00f4551a7b9edda202f15f43e694f949f04927de (patch) | |
tree | d34c8786685265cc04f9b195c5072af06e7bcab4 /shell | |
parent | 257ddd028d94c246d999814aef6fd509fd36b4be (diff) |
Revert "[zsh] Reload shared history before searching (#2251)"
This reverts commit b62a74b3156540cea4f12cf1d092cba77cb1db67.
https://github.com/junegunn/fzf/pull/2251#issuecomment-740551383
Diffstat (limited to 'shell')
-rw-r--r-- | shell/key-bindings.zsh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/key-bindings.zsh b/shell/key-bindings.zsh index 4755c58d..b55c4f4f 100644 --- a/shell/key-bindings.zsh +++ b/shell/key-bindings.zsh @@ -107,7 +107,6 @@ bindkey '\ec' fzf-cd-widget fzf-history-widget() { local selected num setopt localoptions noglobsubst noposixbuiltins pipefail no_aliases 2> /dev/null - [[ -o sharehistory ]] && fc -RI selected=( $(fc -rl 1 | perl -ne 'print if !$seen{(/^\s*[0-9]+\**\s+(.*)/, $1)}++' | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS -n2..,.. --tiebreak=index --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS --query=${(qqq)LBUFFER} +m" $(__fzfcmd)) ) local ret=$? |