[bash] Enable environment variable completion for printenv

Close #3145
This commit is contained in:
Junegunn Choi 2023-02-12 16:58:36 +09:00
parent 6ea38b4438
commit f38a7f7f8f
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -373,7 +373,7 @@ _fzf_setup_completion() {
} }
# Environment variables / Aliases / Hosts / Process # Environment variables / Aliases / Hosts / Process
_fzf_setup_completion 'var' export unset _fzf_setup_completion 'var' export unset printenv
_fzf_setup_completion 'alias' unalias _fzf_setup_completion 'alias' unalias
_fzf_setup_completion 'host' ssh telnet _fzf_setup_completion 'host' ssh telnet
_fzf_setup_completion 'proc' kill _fzf_setup_completion 'proc' kill