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/Command/_tin | |
| parent | 23682: module field renaming missed from 23665 (diff) | |
| download | zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.tar zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.tar.gz zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.tar.bz2 zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.tar.lz zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.tar.xz zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.tar.zst zsh-29729c14ad1edf73065d314f81157f3cff0b82e5.zip | |
23686: respect TIN_HOMEDIR environment variable.
Diffstat (limited to 'Completion/Unix/Command/_tin')
| -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' \ |
