mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
20059: check for systems using . separator instead of for those using :
This commit is contained in:
parent
78da7d872e
commit
c8de227be6
2 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2004-06-17 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 20059: Completion/Unix/Command/_chown: check for systems
|
||||||
|
using . separator instead of for those using :
|
||||||
|
|
||||||
2004-06-16 Oliver Kiddle <opk@zsh.org>
|
2004-06-16 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
* users/7553: Completion/compdump, Completion/compinit:
|
* users/7553: Completion/compdump, Completion/compinit:
|
||||||
|
|
|
||||||
|
|
@ -39,10 +39,10 @@ case $state in
|
||||||
else
|
else
|
||||||
if compset -S '[.:]*'; then
|
if compset -S '[.:]*'; then
|
||||||
suf=()
|
suf=()
|
||||||
elif [[ $OSTYPE = (solaris*|hpux*|*bsd*|linux*) ]]; then
|
elif [[ $OSTYPE = irix* ]]; then
|
||||||
suf=( -qS ':' )
|
|
||||||
else
|
|
||||||
suf=( -qS '.' )
|
suf=( -qS '.' )
|
||||||
|
else
|
||||||
|
suf=( -qS ':' )
|
||||||
fi
|
fi
|
||||||
_users "$suf[@]" && ret=0
|
_users "$suf[@]" && ret=0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue