Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: GNU diff completion problem
- X-seq: zsh-workers 10033
- From: Alexandre Duret-Lutz <duret_g@xxxxxxxx>
- To: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: Re: GNU diff completion problem
- Date: 09 Mar 2000 18:30:55 +0100
- Cc: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- In-reply-to: "Andrej Borsenkow"'s message of "Thu, 9 Mar 2000 19:45:04 +0300"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <000701bf89e6$d1b88f00$21c9ca95@xxxxxxxxxxxxxx>
>>> "Andrej" == Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx> writes:
Andrej> I'm sorry, but I missed this discussion.
Andrej> Why _diff_options tests diff and not real command ($word[1])?
Because `_diff_options' can be called from places (`_prcs') where
`$word[1]' is not the real command, not only called from `_diff'
Andrej> I have system default diff and GNU diff as gdiff. Current state
Andrej> does not allow me to complete GNU diff at all, and I do not want
Andrej> change names for many reasons. I believe, this is often the case.
Perhaps a solution would be to pass the real command as the first
argument to `diff_options' and store the `_is_gnu_diff' flag in an
associative array as Sven suggested.
[...]
--
Alexandre Duret-Lutz
Messages sorted by:
Reverse Date,
Date,
Thread,
Author