summary refs log tree commit diff
path: root/Completion/User/_fetchmail
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_fetchmail')
-rw-r--r--Completion/User/_fetchmail11
1 files changed, 11 insertions, 0 deletions
diff --git a/Completion/User/_fetchmail b/Completion/User/_fetchmail
new file mode 100644
index 000000000..0f9095107
--- /dev/null
+++ b/Completion/User/_fetchmail
@@ -0,0 +1,11 @@
+#compdef fetchmail
+
+_arguments \
+  {--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' \
+  --