about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Unix/Command/_fetchmail11
1 files changed, 11 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_fetchmail b/Completion/Unix/Command/_fetchmail
new file mode 100644
index 000000000..31a92d984
--- /dev/null
+++ b/Completion/Unix/Command/_fetchmail
@@ -0,0 +1,11 @@
+#compdef fetchmail
+
+_arguments -S \
+  {--bsmtp,'(--logfile)-L','(-L)--logfile','(--fetchmailrc)-f','(-f)--fetchmailrc','(--idfile)-i','(-i)--idfile'}':file:_files' \
+  {--plugin,--plugout,'(--mda)-m','(-m)--mda'}':command:_command_names -e' \
+  {'(--username)-u','(-u)--username'}:user:_users \
+  '--auth:authentication types:(password kerberos kerberos_v5)' \
+  {'(--protocol)-p','(-p)--protocol'}:protocol:'(auto pop2 pop3 apop rpop kpop sdps imap imap-k4 imap-gss etrn)' \
+  {'(--port)-P','(-P)--port'}':port number' \
+  '*:mail server:_hosts' \
+  --