1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

20059: check for systems using . separator instead of for those using :

This commit is contained in:
Oliver Kiddle 2004-06-17 13:10:05 +00:00
parent 78da7d872e
commit c8de227be6
2 changed files with 8 additions and 3 deletions

View file

@ -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