* PATCH: _pon
@ 2006-10-04 9:36 Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2006-10-04 9:36 UTC (permalink / raw)
To: zsh-workers
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[@]})'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-04 9:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-04 9:36 PATCH: _pon Clint Adams
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).