zsh-workers
 help / color / mirror / code / Atom feed
From: Thilo Six <zsh@xk2c.de>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] allopt() and question
Date: Fri, 6 May 2016 11:52:59 +0200	[thread overview]
Message-ID: <572C697B.9010607@xk2c.de> (raw)
In-Reply-To: <CAKc7PVCyLYSu72NEqgV+CwfALNz2y6C-wsEyXcCJh_oE6oEbhw@mail.gmail.com>

Hello Sebastian,

Sebastian Gniazdowski schrieb/wrote:

>> % builtin set -o | command grep -E '(\<monitor\>|\<zle\>)'
>> monitor off
>> zle off
> 
> This will start separate process for the first thing in pipeline. The
> last thing is run in current shell. Which is cool for me, 

Now that you mention it i can remeber to have read about that. Back then a bash
user where this is not the default. But iirc they have nowadays a option for it.
Still to me this seem not to be the whole story.
For one it only occurs with only some specific shell options and second:

% foo="$(builtin set -o)"
% echo $foo | command grep -E '(\<monitor\>|\<zle\>)'
monitor               off
zle                   off
% allopt '(\<monitor\>|\<zle\>)'
monitor               on
zle                   on

Or am i missing s.th.?

> as I was
> able to write _function_ n-panelize that works in current shell even
> when is used as ls | n-panelize (the function list entries and allows
> user to search in them).

I use sentaku for that: https://github.com/rcmdnk/sentaku


kind regards,

     Thilo





  reply	other threads:[~2016-05-06  9:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-06  0:17 Thilo Six
2016-05-06  6:03 ` Sebastian Gniazdowski
2016-05-06  9:52   ` Thilo Six [this message]
2016-05-10 18:55     ` Thilo Six

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=572C697B.9010607@xk2c.de \
    --to=zsh@xk2c.de \
    --cc=zsh-workers@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).