zsh-users
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: lilydjwg <lilydjwg@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Tip of the day: restoring an aborted command-line
Date: Sun, 5 Jul 2015 23:17:37 +0200	[thread overview]
Message-ID: <CAHYJk3SVh0ynyEoUny4DLQ6trKALSZ66SFROcqxSDY3oycosPQ@mail.gmail.com> (raw)
In-Reply-To: <20150705162659.GA26504@lilyforest>

On Sun, Jul 5, 2015 at 6:26 PM, lilydjwg <lilydjwg@gmail.com> 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


      parent reply	other threads:[~2015-07-05 21:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 22:12 Oliver Kiddle
2015-07-02 21:29 ` zzapper
2015-07-02 23:11   ` Philippe Troin
2015-07-03  2:42   ` Bart Schaefer
2015-07-03  8:56     ` zzapper
2015-07-03 15:49 ` Greg Klanderman
2015-07-05 16:26 ` lilydjwg
2015-07-05 18:43   ` Bart Schaefer
2015-07-05 21:17   ` Mikael Magnusson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHYJk3SVh0ynyEoUny4DLQ6trKALSZ66SFROcqxSDY3oycosPQ@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=lilydjwg@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).