Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: complete value of $TZ
- X-seq: zsh-workers 16177
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: complete value of $TZ
- Date: Fri, 26 Oct 2001 14:31:21 +0100
- Cc: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <003801c15e1f$aaa54700$21c9ca95@xxxxxxxxxxxxxx>
- Sender: kiddleo@xxxxxxxxxxxxxxxx
Borsenkow Andrej wrote:
>
> > -if (( ! $+_zoneinfo_dirs )); then
> > - _zoneinfo_dirs=( /usr/{share,lib,share/lib}/zoneinfo*(/) )
> > -fi
>
> add /usr/lib/locale/TZ plese
Okay. That was an existing part of _zdump so I didn't question it.
Is the patch below right or is it something slightly different? If not,
please just commit whatever you think is right.
Cheers
Oliver
Index: Completion/Unix/Type/_time_zone
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_time_zone,v
retrieving revision 1.1
diff -u -r1.1 _time_zone
--- Completion/Unix/Type/_time_zone 2001/10/26 13:05:46 1.1
+++ Completion/Unix/Type/_time_zone 2001/10/26 13:26:09
@@ -3,7 +3,7 @@
local expl
if (( ! $+_zoneinfo_dirs )); then
- _zoneinfo_dirs=( /usr/{share,lib,share/lib}/zoneinfo*(/) )
+ _zoneinfo_dirs=( /usr/{share,lib,share/lib}/{zoneinfo*,locale/TZ}(/)
)
fi
_wanted timezone expl 'time zone' _files -W _zoneinfo_dirs
_____________________________________________________________________
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author