Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zle insert problems
- X-seq: zsh-users 16191
- From: Pascal Wittmann <PascalWittmann@xxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: zle insert problems
- Date: Tue, 02 Aug 2011 17:28:10 +0200
- In-reply-to: <CAFOazAPu18qfGbaEuPOQ+JRzwRb-4=tY0O2Tz3gBCze518pWbg@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <4E380791.2090807@gmx.net> <CAHYJk3RgW0AbYxXxbFyF8wAow6UWtB-=cDH-98y+WWiP3pQU_A@mail.gmail.com> <4E380FF2.3020309@gmx.net> <CAFOazAPu18qfGbaEuPOQ+JRzwRb-4=tY0O2Tz3gBCze518pWbg@mail.gmail.com>
On 08/02/2011 05:09 PM, Jérémie Roquet wrote:
> replace-pacman-command() {
> BUFFER=${BUFFER/pacman [-a-zA-Z]#/pacman $@}
> }
>
Thanks, this is quite readable!
I'll take this solution but just to have a explicit no: There is no way
doing this only via zle?
Attachment:
signature.asc
Description: OpenPGP digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author