Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] allopt() and question



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






Messages sorted by: Reverse Date, Date, Thread, Author