* Re: [bug?] named directory tex and compinit
@ 2000-10-26 8:36 Sven Wischnowsky
2000-10-27 15:35 ` Assignments to nameddirs[] Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Sven Wischnowsky @ 2000-10-26 8:36 UTC (permalink / raw)
To: zsh-workers
[ moved to workers... ]
Bart Schaefer wrote:
> ...
>
> The parameter module "knows" that named directories must begin
> with a slash character, and normally doesn't let you assign such values.
> This can lead to some oddities like not being able to assign the value of
> a parameter to itself:
Hm. Should we change that?
I don't know why I added that test anymore. Maybe I somehow had the
impression that hash does the same? Hm.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Assignments to nameddirs[]
2000-10-26 8:36 [bug?] named directory tex and compinit Sven Wischnowsky
@ 2000-10-27 15:35 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2000-10-27 15:35 UTC (permalink / raw)
To: zsh-workers
On Oct 26, 10:36am, Sven Wischnowsky wrote:
}
} Bart Schaefer wrote:
}
} > The parameter module "knows" that named directories must begin
} > with a slash character, and normally doesn't let you assign such values.
} > This can lead to some oddities like not being able to assign the value of
} > a parameter to itself:
}
} Hm. Should we change that?
Possibly so.
} I don't know why I added that test anymore. Maybe I somehow had the
} impression that hash does the same? Hm.
It's probably because such a test is used to decide whether a reference
to a parameter with ~paramname will cause an entry to be made in the
nameddir table. But assignment to the nameddirs special hash is more
like using the "hash" command than it is like using ~paramname.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-10-27 15:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-26 8:36 [bug?] named directory tex and compinit Sven Wischnowsky
2000-10-27 15:35 ` Assignments to nameddirs[] Bart Schaefer
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).