Prevent STDERR leak from abook detection in mutt completion

Fixes #1737
This commit is contained in:
Jon Gjengset 2014-10-03 14:39:42 -04:00
parent a7727765dc
commit 0ffa434926

View file

@ -1,4 +1,4 @@
if which abook >/dev/null
if which abook >/dev/null ^/dev/null
complete -c mutt -f -a '(__fish_print_abook_emails)'
complete -c mutt -s c -x -d 'Specify a carbon-copy (CC) recipient' -a '(__fish_print_abook_emails)'
complete -c mutt -s b -x -d 'Specify a blind-carbon-copy (BCC) recipient' -a '(__fish_print_abook_emails)'