Package: zsh
Version: 4.3.4-10
Severity: minor
Tags: patch

The completion for tin doesn't take into account the TIN_HOMEDIR
environment variable when looking for newshosts.  Here's a fix for that:

--- /usr/share/zsh/4.3.4/functions/Completion/Unix/_tin 2007-07-02 
14:51:17.000000000 +0100
+++ /home/magnusth/.zsh/completion/_tin 2007-07-19 11:30:29.000000000 +0100
@@ -37,7 +37,7 @@
   '::newsgroup:_newsgroups' && return 0
 
 if [[ "$state" = newshosts ]]; then
-  newshosts=( ${${(f)"$(<~/.tin/newsrctable)"}%%\#*} ) 2>/dev/null
+  newshosts=( ${${(f)"$(<${TIN_HOMEDIR-"$HOME"}/.tin/newsrctable)"}%%\#*} ) 
2>/dev/null
   _tags hosts nicknames
   while _tags; do
     _requested hosts expl 'NNTP server hostname' \

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsh depends on:
ii  debconf [debconf-2.0]     1.5.13         Debian configuration management sy
ii  libc6                     2.6-2          GNU C Library: Shared libraries
ii  libncurses5               5.6+20070716-1 Shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libpcre3                      6.7-1      Perl 5 Compatible Regular Expressi

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to