mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-21 20:35:11 +00:00
[zsh] Prevent glob expansion in history widget (#3855)
This commit is contained in:
parent
dca2262fe6
commit
e023736c30
@ -107,7 +107,7 @@ fi
|
||||
# CTRL-R - Paste the selected command from history into the command line
|
||||
fzf-history-widget() {
|
||||
local selected num
|
||||
setopt localoptions noglobsubst noposixbuiltins pipefail no_aliases 2> /dev/null
|
||||
setopt localoptions noglobsubst noposixbuiltins pipefail no_aliases noglob 2> /dev/null
|
||||
# Ensure the associative history array, which maps event numbers to the full
|
||||
# history lines, is loaded, and that Perl is installed for multi-line output.
|
||||
if zmodload -F zsh/parameter p:history 2>/dev/null && (( ${#commands[perl]} )); then
|
||||
|
Loading…
Reference in New Issue
Block a user