Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _pon
- X-seq: zsh-workers 22816
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _pon
- Date: Wed, 4 Oct 2006 05:36:45 -0400
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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