Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to complete backquote, etc. using compsys?
- X-seq: zsh-users 4166
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Keijiro Ehara <popo@xxxxxxxxxxxxxx>
- Subject: Re: How to complete backquote, etc. using compsys?
- Date: Thu, 23 Aug 2001 18:01:46 +0000
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <3B84D18C.19BA712@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20010821204255.64C6417403@xxxxxxxxxxxxxxxxxxx> <3B84D18C.19BA712@xxxxxxxxxxx>
On Aug 23, 10:49am, Oliver Kiddle wrote:
}
} No, you didn't miss an option. The new completion system just doesn't
} complete the backquote. [...] At the moment, I don't think the shell
} code can tell if it is in $( .. )
Yes, it can tell that it's in $(...) or `...`. It doesn't complete the
trailing backtick or closing paren because there's no way to tell when
you're really at the end of the expression. How is it supposed to know
whether you mean
`cat /var/run/inetd.pid`
or whether you're going to go on with more of the command, as in
`cat /var/run/inetd.pid /var/run/sshd.pid`
or the like?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author