From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5330 invoked by alias); 6 May 2016 09:53:17 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38409 Received: (qmail 29898 invoked from network); 6 May 2016 09:53:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Thilo Six Subject: Re: [PATCH] allopt() and question Date: Fri, 6 May 2016 11:52:59 +0200 Message-ID: <572C697B.9010607@xk2c.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b0e0b69.dip0.t-ipconnect.de In-Reply-To: Hello Sebastian, Sebastian Gniazdowski schrieb/wrote: >> % builtin set -o | command grep -E '(\|\)' >> 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 off zle off % allopt '(\|\)' 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