Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: replacing completion



Bart Schaefer wrote:

> On May 8, 11:00am, Andrei Zmievski wrote:
> } Subject: Re: replacing completion
> }
> } On Wed, 08 May 2002, Bart Schaefer wrote:
> } > compctl -k hosts -x 's[foo]' -k '(user@xxxxxxxxxxxxxxxxx)' -U -- ssh
> } 
> } Didn't work.
> 
> Hmm, it works in 3.0.x.  Looks like a bug has been introduced into
> `compctl -U' at some point in the 4.0 series.

Sorry for the delay.

It irritates me that it works in 3.0.x. Because, as the docs say, a
`s[...]' string is meant to be left alone. A `S[...]' string can be
changed by the completion code and with

    compctl -k hosts -x 'S[foo]' -k '(user@xxxxxxxxxxxxxxxxx)' -U -- ssh

it works for me.


Bye
  Sven

-- 
Sven Wischnowsky                          wischnow@xxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author