diff options
Diffstat (limited to 'bash/bash_completion.d/mail.bash')
-rw-r--r-- | bash/bash_completion.d/mail.bash | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bash/bash_completion.d/mail.bash b/bash/bash_completion.d/mail.bash index 65c4ae80..5d1cdec0 100644 --- a/bash/bash_completion.d/mail.bash +++ b/bash/bash_completion.d/mail.bash @@ -1,6 +1,5 @@ # Completion for mail(1) with abook(1) email addresses -declare -F _abook_addresses >/dev/null || - source "$HOME"/.bash_completion.d/_abook_addresses.bash - -# bashdefault requires Bash >=3.0 +if ! declare -F _text_filenames >/dev/null ; then + source "$HOME"/.bash_completion.d/_text_filenames.bash +fi complete -F _abook_addresses -o bashdefault -o default mail |