From fcbdb6f2a7eb8008253ed77284e9d4e6f3c8f5cc Mon Sep 17 00:00:00 2001 From: axel Date: Sun, 28 Jan 2007 12:46:39 +1000 Subject: [PATCH] Add command specific completions for mutt and sylpheed, written by Velko Hristov darcs-hash:20070128024639-ac50b-484668bdfb13c4cd23e058224d14b8f6d52b04d0.gz --- share/completions/mutt.fish | 26 ++++++++++++++++++++++++++ share/completions/sylpheed.fish | 16 ++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 share/completions/mutt.fish create mode 100644 share/completions/sylpheed.fish diff --git a/share/completions/mutt.fish b/share/completions/mutt.fish new file mode 100644 index 000000000..ab22ba6ea --- /dev/null +++ b/share/completions/mutt.fish @@ -0,0 +1,26 @@ +#completion for mutt + +complete -c mutt -s D --description 'Print the value of all configuration options to stdout' +complete -c mutt -s h --description 'Display help' +complete -c mutt -s n --description 'Bypass the system configuration file' +complete -c mutt -s p --description 'Resume a postponed message' +complete -c mutt -s R --description 'Open a mailbox in read-only mode' +complete -c mutt -s v --description 'Display the Mutt version number and compile-time definitions' +complete -c mutt -s x --description 'Emulate the mailx compose mode' +complete -c mutt -s y --description 'Start Mutt with a listing of all mailboxes' +complete -c mutt -s z --description 'When used with -f, causes Mutt not to start if there are no messages' +complete -c mutt -s Z --description 'Open the first mailbox which contains new mail' + +complete -r -c mutt -s A --description 'An expanded version of the given alias is passed to stdout' +complete -r -c mutt -s a --description 'Attach a file to your message using MIME' +complete -r -c mutt -s b --description 'Specify a blind-carbon-copy (BCC) recipient' +complete -r -c mutt -s c --description 'Specify a carbon-copy (CC) recipient' +complete -r -c mutt -s e --description 'Run command after processing of initialization files' +complete -r -c mutt -s f --description 'Specify which mailbox to load' +complete -r -c mutt -s F --description 'Specify an initialization file to read instead of ~/.muttrc' +complete -r -c mutt -s H --description 'Specify a draft file containing header and body for the message' +complete -r -c mutt -s i --description 'Specify a file to include into the body of a message' +complete -r -c mutt -s m --description 'Specify a default mailbox type' +complete -r -c mutt -s Q --description 'Query a configuration variables value' +complete -r -c mutt -s s --description 'Specify the subject of the message' + diff --git a/share/completions/sylpheed.fish b/share/completions/sylpheed.fish new file mode 100644 index 000000000..7c0a8861d --- /dev/null +++ b/share/completions/sylpheed.fish @@ -0,0 +1,16 @@ +#completion for sylpheed + +complete -c sylpheed -l exit --description 'Exit sylpheed' +complete -c sylpheed -l debug --description 'Debug mode' +complete -c sylpheed -l help --description 'Display help and exit' +complete -c sylpheed -l version --description 'Output version information and exit' + +complete -r -c sylpheed -l compose --description 'Open composition window with address' +complete -r -c sylpheed -l attach --description 'Open composition window with attached files' +complete -r -c sylpheed -l receive --description 'Receive new messages' +complete -r -c sylpheed -l receive-all --description 'Receive new messages of all accounts' +complete -r -c sylpheed -l send --description 'Send all queued messages' +complete -r -c sylpheed -l status --description 'Show the total number of messages for folder' +complete -r -c sylpheed -l status-full --description 'Show the total number of messages for each folder' +complete -r -c sylpheed -l configdir --description 'Specify directory with configuration files' +