summaryrefslogtreecommitdiff
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
parent78da7d872ecd24299b97573bf92c9582c74992b6 (diff)
downloadzsh-c8de227be64b25d70e7d394b5c95a243d7bfd43c.tar.gz
zsh-c8de227be64b25d70e7d394b5c95a243d7bfd43c.zip
20059: check for systems using . separator instead of for those using :
-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