Closed systemmonkey42 closed 5 months ago
The function fzf_bash_completion() should honor the bash/readline setting no_empty_cmd_completion
fzf_bash_completion()
no_empty_cmd_completion
for example
fzf_bash_completion() { if [[ -z "${READLINE_LINE}" ]] && shopt -q no_empty_cmd_completion; then return 1 fi ...
This helps prevent tab on an empty line triggering completion of every command in the path. (which for me can take up to 15 seconds)
(Pressing at least one letter then tab will still complete commands.)
implemented in 4dbb200c3cd448eb71b7ef9b275a9d84726a5063
The function
fzf_bash_completion()
should honor the bash/readline settingno_empty_cmd_completion
for example
This helps prevent tab on an empty line triggering completion of every command in the path. (which for me can take up to 15 seconds)
(Pressing at least one letter then tab will still complete commands.)