1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-02 08:21:09 +01:00

23686: respect TIN_HOMEDIR environment variable.

This commit is contained in:
Clint Adams 2007-07-19 15:53:18 +00:00
parent 6ad2655802
commit 29729c14ad
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-07-19 Clint Adams <clint@zsh.org>
* Magnus Therning + tweaks: 23686: Completion/Unix/Command/_tin:
respect TIN_HOMEDIR environment variable.
2007-07-17 Peter Stephenson <pws@csr.com>
* 23682: Src/module.c: missed cases where m->name should

View file

@ -37,7 +37,7 @@ _arguments -C -s \
'::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' \