From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13973 invoked by alias); 5 Jul 2015 21:17:39 -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: 20308 Received: (qmail 20040 invoked from network); 5 Jul 2015 21:17:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MtKdA05Ci3t8Y/+wHGtLEjh/UpUIVzdU+oiPEXYoqBE=; b=G2An/pNTOpeprt6bJTNdWQFKBoaDm5qDH0hnzi6cO4TVlbLkOAhXsKNz1Gj34goW8A KNkdOfWmX7A+BASV5olmRrKsS5yS9xfu34eamfEQwSuWlyT0nZU1LNwHWvvTMrPTzyEU MUqHBF5cWEo46fK6gGARP4co9BmI/8/Pg6/dIUNP7p/ZHIsRxJ/XUcN0jYLY6YfGwEvc lSYO+Zkyap506B4IIdH7ylgKbU+SY0VWXgDYXIMOJZQ6VqUDg6oaQBRnSJU4Z92HMVsh Tx8dh3qyjaUNXQSUTmnrbGjVBNEcoZKYg1X399zMfOGoG+Zp2BLfJOKJHUtP1UCIg6qo jVxg== MIME-Version: 1.0 X-Received: by 10.42.99.70 with SMTP id v6mr29306763icn.1.1436131057203; Sun, 05 Jul 2015 14:17:37 -0700 (PDT) In-Reply-To: <20150705162659.GA26504@lilyforest> References: <30469.1435788779@thecus.kiddle.eu> <20150705162659.GA26504@lilyforest> Date: Sun, 5 Jul 2015 23:17:37 +0200 Message-ID: Subject: Re: Tip of the day: restoring an aborted command-line From: Mikael Magnusson To: lilydjwg Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 On Sun, Jul 5, 2015 at 6:26 PM, lilydjwg wrote: > This is great, but it conflicts with the safe-paste (I learnt here a few > days ago), which also defines zle-line-init. Is there a way to make both > work without making them know the existence of each other? Theoretically, you have to manually merge the functions (just make one function that does the things the two separate ones do). In practice, the next release of zsh has bracketed pasting builtin so you don't need to do anything for it anymore. -- Mikael Magnusson