Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: New completions
- X-seq: zsh-workers 6716
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: New completions
- Date: 18 Jun 1999 22:31:23 +0900
- In-reply-to: Falk Hueffner's message of "18 Jun 1999 15:04:43 +0200"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <4FBF540FF16FD1119D9600A0C94B2B51F29E91@xxxxxxxxxxxxxxxxxxx> <st2bted64no.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <st2bted64no.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx> writes:
> "hpux10.10" or similar.
Oops. Please ignore patches in 6712 and 6715.
--- Completion/User/_chown- Fri Jun 18 20:55:51 1999
+++ Completion/User/_chown Fri Jun 18 22:28:54 1999
@@ -1,10 +1,14 @@
#compdef chown chgrp
if [[ CURRENT -eq 2 || CURRENT -eq 3 && $words[CURRENT-1] = -* ]]; then
- if [[ $words[1] = chgrp ]] || compset -P '*.'; then
+ if [[ $words[1] = chgrp ]] || compset -P '*[:.]'; then
_groups
else
- compgen -u -S '.' -q
+ if [[ $OSTYPE = (solaris*|hpux*) ]]; then
+ compgen -u -S ':' -q
+ else
+ compgen -u -S '.' -q
+ fi
fi
else
_files
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author