From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14166 invoked by alias); 2 Aug 2011 15:26:53 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16191 Received: (qmail 13541 invoked from network); 2 Aug 2011 15:26:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at gmx.net designates 213.165.64.22 as permitted sender) X-Authenticated: #28939725 X-Provags-ID: V01U2FsdGVkX18NKRZd4SsNfR/i/zrUWJT6ic1usBnoGju0ovB+7Y k7SjnbYJVfz78l Message-ID: <4E38178A.9050406@gmx.net> Date: Tue, 02 Aug 2011 17:28:10 +0200 From: Pascal Wittmann User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110628 Thunderbird/5.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: zle insert problems References: <4E380791.2090807@gmx.net> <4E380FF2.3020309@gmx.net> In-Reply-To: X-Enigmail-Version: 1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigF24FC109607F04E9BEB997D6" X-Y-GMX-Trusted: 0 --------------enigF24FC109607F04E9BEB997D6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/02/2011 05:09 PM, J=C3=A9r=C3=A9mie Roquet wrote: > replace-pacman-command() { > BUFFER=3D${BUFFER/pacman [-a-zA-Z]#/pacman $@} > } >=20 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? --------------enigF24FC109607F04E9BEB997D6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEAREKAAYFAk44F40ACgkQyJms5+IyKFKn8ACfUnhsiTZAZ1z0inStTlCyPmkF 7DgAni2qZFcsC4g0pnz4HqlarEkVGFoL =YyV9 -----END PGP SIGNATURE----- --------------enigF24FC109607F04E9BEB997D6--