Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: minor updates to _urls and _webbrowser
- X-seq: zsh-workers 18259
- From: Doug Kearns <djkea2@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: minor updates to _urls and _webbrowser
- Date: Wed, 19 Feb 2003 01:15:33 +1100
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I noticed that the description for _urls was 'urls' which seems
inconsistent with the other types so I think it should be changed to
'url'. I also added some more browsers to _webbrowsers.
Regards,
Doug
Index: Completion/Unix/Command/_webbrowser
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_webbrowser,v
retrieving revision 1.4
diff -u -r1.4 _webbrowser
--- Completion/Unix/Command/_webbrowser 12 Dec 2001 11:34:18 -0000 1.4
+++ Completion/Unix/Command/_webbrowser 18 Feb 2003 13:38:41 -0000
@@ -1,3 +1,3 @@
-#compdef amaya arena chimera express grail gzilla hotjava mmm opera www xmosaic Mosaic galeon konqueror skipstone light dillo
+#compdef amaya arena chimera dillo express galeon grail gzilla hotjava konqueror light mmm Mosaic netrik opera phoenix retawq skipstone www xmosaic zen
_alternative 'files:file:_files' 'urls:url:_urls'
Index: Completion/Unix/Type/_urls
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_urls,v
retrieving revision 1.7
diff -u -r1.7 _urls
--- Completion/Unix/Type/_urls 9 Aug 2002 16:05:46 -0000 1.7
+++ Completion/Unix/Type/_urls 18 Feb 2003 13:38:41 -0000
@@ -48,7 +48,7 @@
if [[ $#urls -gt 1 || ( $#urls -eq 1 && ! -d $urls[1] ) ]]; then
[[ $#urls -eq 1 && -f $urls[1] ]] && urls=( $(< $urls[1]) )
- _wanted urls expl 'urls' compadd -a urls && return 0
+ _wanted urls expl 'url' compadd -a urls && return 0
urls=()
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author