Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compinit causes strange tab completion on '<'
- X-seq: zsh-users 9920
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: compinit causes strange tab completion on '<'
- Date: Mon, 13 Feb 2006 16:29:37 +0000
- In-reply-to: <43F04230.8050708@xxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <43F04230.8050708@xxxxxxxx>
On Feb 13, 3:24am, Jeff wrote:
}
} %< ./init.d/[tab]
} gives no completion
} %< /etc/init.d/[tab]
} gives no completion
This is a problem with either the _redirect completer or the _set_command
utility funtion, depending on how you look at it. _redirect calls
_set_command to find the name of the command to which input is being
redirected, but in this case there is none. _set_command incorrectly
returns /etc/init.d as the command name and conseqently the completion
system tries to complete arguments for init scripts, rather than the
names of the init scripts.
I'm not immediately sure what to do about it, though.
--
Bart Schaefer
http://www.well.com/user/barts
Messages sorted by:
Reverse Date,
Date,
Thread,
Author