From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20929 invoked by alias); 24 Jan 2012 21:12:46 -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: 16744 Received: (qmail 8124 invoked from network); 24 Jan 2012 21:12:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <120124131229.ZM31866@torch.brasslantern.com> Date: Tue, 24 Jan 2012 13:12:29 -0800 In-reply-to: <20120124125239.a797a3f4e63d9e5b3fa04f3d@users.sf.net> Comments: In reply to "Yuri D'Elia" "Re: "Literal" command execution" (Jan 24, 12:52pm) References: <20120123205150.27077e4eea9d7be1e632508f@users.sf.net> <120123143209.ZM29426@torch.brasslantern.com> <20120124125239.a797a3f4e63d9e5b3fa04f3d@users.sf.net> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: "Literal" command execution MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Jan 24, 12:52pm, Yuri D'Elia wrote: } } I'm just missing this: can I substitute self-insert just for a } specific zstyle? This way I could make it work just for a specific } command? You can't substitute self-insert for just a specific style, but you can test the style inside the widget function and fall back to the builtin with "zle .self-insert" if the test fails. url-quote-magic does that when the current word being input doesn't appear to have a URL scheme at the front of it.