From 29729c14ad1edf73065d314f81157f3cff0b82e5 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 19 Jul 2007 15:53:18 +0000 Subject: 23686: respect TIN_HOMEDIR environment variable. --- Completion/Unix/Command/_tin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_tin b/Completion/Unix/Command/_tin index 21525c35d..c63ccd9e6 100644 --- a/Completion/Unix/Command/_tin +++ b/Completion/Unix/Command/_tin @@ -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' \ -- cgit 1.4.1