Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Completion/Cvs/
- X-seq: zsh-workers 7604
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Completion/Cvs/
- Date: 01 Sep 1999 21:01:34 +0900
- In-reply-to: Sven Wischnowsky's message of "Wed, 1 Sep 1999 13:03:03 +0200 (MET DST)"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199909011103.NAA00249@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <199909011103.NAA00249@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> The patch was mostly cosmetic, in fact. The question is: will users
> think that `-e+::..' does what they want in this case or not?
> Personally I don't care much if the patch is included or, since I
> would use `-e-:..' in such cases.
I think the behavior before 7596 is reasonable though I don't know
command that is fit to use it.
> @@ -535,6 +537,7 @@
> optbeg="$nargbeg"
> argbeg="$nargbeg"
> fromrest=yes
> + [[ "$def" = \*::* ]] && opt=''
> fi
> fi
>
Hm.
is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% compconf group_matches=yes
is27e1u11% compconf message_format='%d'
is27e1u11% compconf description_format='%d'
is27e1u11% _tst () { _arguments '-e+:editor:(vi)' '*::mesg:false' }
is27e1u11% tst -e<TAB>
This should complete `vi', but does not.
is27e1u11% cvs <TAB>
add commit export log release tag watchers
admin diff history login remove unedit
annotate edit import logout rtag update
checkout editors init rdiff status watch
Also, this should complete cvs common options addition to cvs commands.
Reverting the hunk fix this problem. Is this correct?
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author