diff options
author | Clint Adams <clint@users.sourceforge.net> | 2007-07-19 15:53:18 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2007-07-19 15:53:18 +0000 |
commit | 29729c14ad1edf73065d314f81157f3cff0b82e5 (patch) | |
tree | ad746a46782d41137e44e84608085065b6883c2a /Completion/Unix | |
parent | 6ad26558025b82fee66ed73c83950438cea6c3a0 (diff) | |
download | zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.tar.gz zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.tar.xz zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.zip |
23686: respect TIN_HOMEDIR environment variable.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_tin | 2 |
1 files changed, 1 insertions, 1 deletions
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' \ |