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:
parent
6ad2655802
commit
29729c14ad
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue