From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk
Subject: Re: Value of $0
Date: Tue, 07 Aug 2001 18:50:28 +0100 [thread overview]
Message-ID: <3B702A64.F7D8A448@yahoo.co.uk> (raw)
In-Reply-To: <1010807161625.ZM9619@candle.brasslantern.com>
Peter wrote:
| > Or if that would cause problems, some sort of similar way such
| > as an option to functions or autoload?
| Or maybe an addition to zsh/parameter.
That would do the job nicely.
Bart Schaefer wrote:
>
> I've created the file Etc/STD-TODO for this purpose.
Looks good.
> It's actually worse than that. (Emulation does setopt nocorrect, or at
> least does not setopt correct.) The special meanings of "nocorrect" and
> "noglob" should be disabled in emulation.
ok, so emulate should disable noglob and nocorrect then.
I just noticed a silly bug in _enable which was my fault some while ago
so fix is below.
I'll also just add `_value:DISPLAY() _x_display' in _value. Are braces
needed for any option combination because it works without regardless of
shortloops.
Oliver
Index: Completion/Zsh/Context/_value
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Context/_value,v
retrieving revision 1.1
diff -u -r1.1 _value
--- Completion/Zsh/Context/_value 2001/04/02 11:25:06 1.1
+++ Completion/Zsh/Context/_value 2001/08/07 17:48:39
@@ -58,4 +58,6 @@
fi
}
+_value:DISPLAY() _x_display
+
_value "$@"
Index: Completion/Zsh/Command/_enable
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_enable,v
retrieving revision 1.1
diff -u -r1.1 _enable
--- Completion/Zsh/Command/_enable 2001/04/02 11:28:14 1.1
+++ Completion/Zsh/Command/_enable 2001/08/07 17:48:39
@@ -5,4 +5,4 @@
"(-a -r)-f[act on functions]:*:functions:(${(k)dis_functions})" \
"(-a -f)-r[act on reserved
words]:*:reserved-words:(${(k)dis_reswords})" \
'-m[treat arguments as patterns]' \
- "*:builtin command:(${(@k)dis_builtins})"
+ "*:builtin command:(${(k)dis_builtins})"
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp
next prev parent reply other threads:[~2001-08-07 17:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-06 14:46 (Fwd) " Bart Schaefer
2001-08-06 15:30 ` Oliver Kiddle
2001-08-07 16:16 ` Bart Schaefer
2001-08-07 17:50 ` Oliver Kiddle [this message]
2001-08-07 18:03 ` Bart Schaefer
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=3B702A64.F7D8A448@yahoo.co.uk \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@sunsite.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).