[bash] Preserve existing completion for ssh

Fix #3484
This commit is contained in:
Junegunn Choi 2023-10-19 09:58:36 +09:00
parent d51b71ee80
commit 70c461c60b
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -481,7 +481,7 @@ a_cmds="
svn tar unzip zip"
# Preserve existing completion
__fzf_orig_completion < <(complete -p $d_cmds $a_cmds 2> /dev/null)
__fzf_orig_completion < <(complete -p $d_cmds $a_cmds ssh 2> /dev/null)
if type _completion_loader > /dev/null 2>&1; then
_fzf_completion_loader=1