about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_pon7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c294fb562..082ed2ade 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
 2006-10-03  Clint Adams  <clint@zsh.org>
 
+	* 22816: Joerg Sommer: Completion/Unix/Command/_pon:
+	completion for pon.
+
 	* 22815: Joerg Sommer: Completion/Debian/Command/_invoke-rc.d:
-	completion for invoke-rc.d
+	completion for invoke-rc.d.
 
 2006-10-03  Clint Adams  <clint@zsh.org>
 
diff --git a/Completion/Unix/Command/_pon b/Completion/Unix/Command/_pon
new file mode 100644
index 000000000..860916435
--- /dev/null
+++ b/Completion/Unix/Command/_pon
@@ -0,0 +1,7 @@
+#compdef pon
+
+provider=(/etc/ppp/peers/*(:t))
+
+_arguments \
+  '(-q --quick)'{-q,--quick}'[hangs up after all ip-up scripts are run]' \
+  '1:provider to call:(${provider[@]})'