about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_chown6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ef75de11..2bac0550c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
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