Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
colonic _values with paths
- X-seq: zsh-workers 10806
 
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
 
- Subject: colonic _values with paths
 
- Date: Tue, 18 Apr 2000 12:54:31 +0100
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
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@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author