From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _urls again (Re: setopt localoptions noautoremoveslash)
Date: 16 Oct 1999 22:56:48 +0900 [thread overview]
Message-ID: <rsqvh879zof.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Oliver Kiddle's message of "Fri, 15 Oct 1999 16:30:17 +0100"
In article <38074889.6DCA13F@u.genie.co.uk>,
Oliver Kiddle <opk@u.genie.co.uk> writes:
> > -#autoload
> > +#compdef curl
>
> Shouldn't this be done in _webbrowser. Or we should do what I suggested
> before which is to ditch _webbrowser, add the programs to a compdef in
> _urls and negate the meaning of -f to _urls.
I don't think so. The name of the function should show its (default)
behaviour. If _urls complete files by default, it should be renamed
to _filesurls or some similar name.
>
> > * Use [[ ... ]] instead of [ ... ].
>
> Could someone please explain why [[ ... ]] seems to be prefered where
> both forms provide the same functionality ? Sven also changed my use of
> [ -d ... ] to use the double square brackets. Is it faster or something?
I'm not sure about this. But I believe the description of `test' in
zshbuiltins(1).
--
Tanaka Akira
next prev parent reply other threads:[~1999-10-16 13:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-15 12:10 Sven Wischnowsky
1999-10-15 15:30 ` Oliver Kiddle
[not found] ` <991015155008.ZM24081@candle.brasslantern.com>
1999-10-15 16:05 ` Oliver Kiddle
1999-10-15 16:40 ` Bart Schaefer
1999-10-15 16:54 ` _urls ... and CVS Adam Spiers
1999-10-16 5:18 ` Tanaka Akira
1999-10-16 13:56 ` Tanaka Akira [this message]
1999-10-16 15:33 ` "[[" (Re: PATCH: _urls again (Re: setopt localoptions noautoremoveslash)) Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
1999-10-18 9:41 PATCH: _urls again (Re: setopt localoptions noautoremoveslash) Sven Wischnowsky
1999-10-14 17:15 setopt localoptions noautoremoveslash Zefram
1999-10-14 18:08 ` Tanaka Akira
1999-10-15 11:24 ` PATCH: _urls again (Re: setopt localoptions noautoremoveslash) Oliver Kiddle
1999-10-15 14:36 ` Tanaka Akira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rsqvh879zof.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).