Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: a simple question
- X-seq: zsh-users 12260
- From: Peter Stephenson <pws@xxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: a simple question
- Date: Thu, 29 Nov 2007 14:41:04 +0000
- In-reply-to: <20071129140709.GH2541@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071129134137.GG2541@xxxxxxxxx> <200711291345.lATDjFKF006076@xxxxxxxxxxxxxx> <20071129140709.GH2541@xxxxxxxxx>
Andy Spiegl wrote:
> Peter Stephenson wrote:
> > Only in that usually it's unnecessary, unless you have turned on the
> > option "completealiases". If you haven't, the alias is expanded by
> > completion so the completion code sees "ssh -l admin" and everything
> > works.
> Ah, great! Didn't know that feature yet.
> Only that I _dont_ have completealiases turned on and it still doesn't work.
You mean you've tried and completion after
ssh -l admin
works while completion after
alias sshadmin="ssh -l admin"
sshadmin
doesn't?
> In a "zsh -f" session it does work so it must be something in my settings...
I presume you mean even after "compinit", otherwise you're using a
different form of completion.
> On the other hand, with an ls-alias (alias lh="\ls -lFBh") it works.
> So why not with sshadmin? Any idea?
Try using the debug binding "^X?" to generate an output file which
should show you if it's ever getting as far as ssh completion or is
trying completion for something else.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author