* colonic _values with paths
@ 2000-04-18 11:54 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2000-04-18 11:54 UTC (permalink / raw)
To: Zsh hackers list
This is rather minor, but I happened to notice.
_values always adds a suffix `:' when it's dealing with colon-separated
arrays. This is actually pretty annoying if the elements of the array are
paths, when you'd prefer to have the usual `/' and add a `:' by hand where
necessary. How about only adding the `:' if the element doesn't already
contain a `/' or initial `~'? Or suppose I get in the habit of using
`typeset -T' and adding things to real arrays? Maybe the second
alternative is better.
--
Peter Stephenson <pws@cambridgesiliconradio.com>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-04-18 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-18 11:54 colonic _values with paths Peter Stephenson
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).