Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _pon



Another one from Jörg Sommer: this is the pon script from
Paul's PPP Package ( http://ppp.samba.org/ ).

It needs some tidying and perhaps companion completion for poff.

Index: Completion/Unix/Command/_pon
===================================================================
RCS file: Completion/Unix/Command/_pon
diff -N Completion/Unix/Command/_pon
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_pon	4 Oct 2006 09:34:44 -0000
@@ -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[@]})'



Messages sorted by: Reverse Date, Date, Thread, Author