* strange command completion.
@ 2006-07-05 13:23 Marc Chantreux
2006-07-05 13:29 ` Peter Stephenson
0 siblings, 1 reply; 3+ messages in thread
From: Marc Chantreux @ 2006-07-05 13:23 UTC (permalink / raw)
To: zsh-users
Hi all,
i'm trying to complete that :
while { read c d } { f<tab>
a command is expected here ( find, for exemple ) but the proposed
completion is fignore\[ ...
i guess that there is some trouble in my completion so i paste my
related .zshrc :
autoload -U compinit
compinit
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose yes
zstyle ':completion:*:descriptions' format '%B%d%b'
zstyle ':completion:*:messages' format '%d'
zstyle ':completion:*:warnings' format 'No matches for: %d'
zstyle ':completion:*' group-name '
anyone can help ?
regards
mc
--
téléphone : 03.90.24.00.19
courriel : marc.chantreux@ulpmm.u-strasbg.fr
---------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: strange command completion.
2006-07-05 13:23 strange command completion Marc Chantreux
@ 2006-07-05 13:29 ` Peter Stephenson
2006-07-05 14:06 ` Marc Chantreux
0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2006-07-05 13:29 UTC (permalink / raw)
To: zsh-users
Marc Chantreux wrote:
> i'm trying to complete that :
>
> while { read c d } { f<tab>
>
> a command is expected here ( find, for exemple ) but the proposed
> completion is fignore\[ ...
It does seem to be getting confused about the context here for some
reason, but you can help matters by using the standard syntax:
while read cd; do f<tab>
which works OK.
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: strange command completion.
2006-07-05 13:29 ` Peter Stephenson
@ 2006-07-05 14:06 ` Marc Chantreux
0 siblings, 0 replies; 3+ messages in thread
From: Marc Chantreux @ 2006-07-05 14:06 UTC (permalink / raw)
To: Peter Stephenson; +Cc: zsh-users
> while read cd; do f<tab>
wow ... it takes me back to the bash age, long long time ago ;)
thanks for the tips to work around the bug.
regards
mc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-05 14:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-05 13:23 strange command completion Marc Chantreux
2006-07-05 13:29 ` Peter Stephenson
2006-07-05 14:06 ` Marc Chantreux
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).