about summary refs log tree commit diff
path: root/Completion/Unix/Command/_chown
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-06-17 13:10:05 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-06-17 13:10:05 +0000
commitc8de227be64b25d70e7d394b5c95a243d7bfd43c (patch)
treed205e61a1e78a05d1c38cfcef0a80c7af9b7e452 /Completion/Unix/Command/_chown
parent78da7d872ecd24299b97573bf92c9582c74992b6 (diff)
downloadzsh-c8de227be64b25d70e7d394b5c95a243d7bfd43c.tar.gz
zsh-c8de227be64b25d70e7d394b5c95a243d7bfd43c.tar.xz
zsh-c8de227be64b25d70e7d394b5c95a243d7bfd43c.zip
20059: check for systems using . separator instead of for those using :
Diffstat (limited to 'Completion/Unix/Command/_chown')
-rw-r--r--Completion/Unix/Command/_chown6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_chown b/Completion/Unix/Command/_chown
index 0c8ef916f..3371e8ea4 100644
--- a/Completion/Unix/Command/_chown
+++ b/Completion/Unix/Command/_chown
@@ -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