zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
Cc: zsh-workers@sunsite.dk
Subject: Re: PATCH: complete value of $TZ
Date: Fri, 26 Oct 2001 14:31:21 +0100	[thread overview]
Message-ID: <3BD965A9.49E51450@yahoo.co.uk> (raw)
In-Reply-To: <003801c15e1f$aaa54700$21c9ca95@mow.siemens.ru>

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


      reply	other threads:[~2001-10-26 13:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-26 12:57 Oliver Kiddle
2001-10-26 13:11 ` Borsenkow Andrej
2001-10-26 13:31   ` Oliver Kiddle [this message]

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=3BD965A9.49E51450@yahoo.co.uk \
    --to=okiddle@yahoo.co.uk \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --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).