1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# (C) 2025 unrealapex
# Completion script for mutt-wizard
function completion/mw {
typeset OPTIONS ARGOPT PREFIX
OPTIONS=( #>#
"a; add an email address"
"l; list all email accounts configured by mutt-wizard"
"d; pick an already configured account and remove its configuration"
"D; remove a configured account without confirmation"
"y; download and upload mail for an email account"
"Y; sync all email accounts"
"t; toggle cronjob that syncs mail every given minute"
"T; toggle cronjob without giving minute"
"r; reorder account shortcut numbers"
) #<#
command -f completion//parseoptions -es
case $ARGOPT in
(-)
command -f completion//completeoptions
;;
esac
}
# vim: set ft=sh ts=8 sts=8 sw=8 et:
|