Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to insert completions on command line
- X-seq: zsh-users 10624
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: How to insert completions on command line
- Date: Sat, 19 Aug 2006 21:38:00 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Yjvs0WLN2XIQuuLYXCNINUSum9PPbnbh25pm6PnNbkIBr6+ouupJl0E97484BGqbI7qhh1YxH7NTH04As1jiugz2qX2D5liKjD1PfJoSHOE12G6eC5zY8Nh9GusalD+SDvjfNW4QB/gzKsuh8Y0Jt/2rnvjS3vUHD1wYjmLzq0I=
- In-reply-to: <060819111754.ZM28540@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0608181647v2c9d526evd1afa34d9b0a366d@xxxxxxxxxxxxxx> <060818205326.ZM24653@xxxxxxxxxxxxxxxxxxxxxx> <237967ef0608182215q2b59fdb0w5f645f72385a9508@xxxxxxxxxxxxxx> <060819111754.ZM28540@xxxxxxxxxxxxxxxxxxxxxx>
On 8/19/06, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
On Aug 18, 10:16pm, Mikael Magnusson wrote:
}
} > zstyle :completion:expand-word:expand:\* tag-order all-expansions
} >
} > Then type ctrl-X e
}
} This seems to only have an effect on globbing completions
That's the second time this summer I've misinterpreted that same
question. (Which means the answer is in the zsh-users archives
from only a few weeks ago, if you had looked.)
Look up _all_matches in the manual.
zle -C all-matches complete-word _generic
bindkey '^Xa' all-matches
zstyle ':completion:all-matches:*' old-matches only
zstyle ':completion:all-matches::::' completer _all_matches
Thanks, that works perfectly. Looking at the old message i vaguely
remember reading it at the time, but didn't realize i would want it.
I'm also not sure what i would have searched for without knowing the
name "_all_matches".
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author