mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02: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>
|
||||
|
||||
* users/7553: Completion/compdump, Completion/compinit:
|
||||
|
|
|
@ -39,10 +39,10 @@ case $state in
|
|||
else
|
||||
if compset -S '[.:]*'; then
|
||||
suf=()
|
||||
elif [[ $OSTYPE = (solaris*|hpux*|*bsd*|linux*) ]]; then
|
||||
suf=( -qS ':' )
|
||||
else
|
||||
elif [[ $OSTYPE = irix* ]]; then
|
||||
suf=( -qS '.' )
|
||||
else
|
||||
suf=( -qS ':' )
|
||||
fi
|
||||
_users "$suf[@]" && ret=0
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue