aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/mail.bash
blob: 65c4ae8010dcdde6cf218adb6768b95adc19b6a3 (plain)
1
2
3
4
5
6
# 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
complete -F _abook_addresses -o bashdefault -o default mail