fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
b3f8a93e0
master
1function __fish_print_abook_emails --description'Print email addresses (abook)' 2abook --mutt-query"" | string match -r -v'^\s*$' 3 4end 5 6if command -sq abook 7complete -c mutt -f -a'(__fish_print_abook_emails)' 8complete -c mutt -s c -x -d'Specify a carbon-copy (CC) recipient' -a'(__fish_print_abook_emails)' 9complete -c mutt -s b -x -d'Specify a blind-carbon-copy (BCC) recipient' -a'(__fish_print_abook_emails)' 10end 11 12complete -c mutt -s D -d'Print the value of all configuration options to stdout' 13complete -c mutt -s h -d'Display help' 14complete -c mutt -s n -d'Bypass the system configuration file' 15complete -c mutt -s p -d'Resume a postponed message' 16complete -c mutt -s R -d'Open a mailbox in read-only mode' 17complete -c mutt -s v -d'Display the Mutt version number and compile-time definitions' 18complete -c mutt -s x -d'Emulate the mailx compose mode' 19complete -c mutt -s y -d'Start Mutt with a listing of all mailboxes' 20complete -c mutt -s z -d'When used with -f, causes Mutt not to start if there are no messages' 21complete -c mutt -s Z -d'Open the first mailbox which contains new mail' 22 23complete -r -c mutt -s A -d'An expanded version of the given alias is passed to stdout' 24complete -r -c mutt -s a -d'Attach a file to your message using MIME' 25complete -r -c mutt -s b -d'Specify a blind-carbon-copy (BCC) recipient' 26complete -r -c mutt -s c -d'Specify a carbon-copy (CC) recipient' 27complete -r -c mutt -s e -d'Run command after processing of initialization files' 28complete -r -c mutt -s f -d'Specify which mailbox to load' 29complete -r -c mutt -s F -d'Specify an initialization file to read instead of ~/.muttrc' 30complete -r -c mutt -s H -d'Specify a draft file containing header and body for the message' 31complete -r -c mutt -s i -d'Specify a file to include into the body of a message' 32complete -r -c mutt -s m -d'Specify a default mailbox type' 33complete -r -c mutt -s Q -d'Query a configuration variables value' 34complete -r -c mutt -s s -d'Specify the subject of the message'