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

Re: null commands...



>This wouldn't always work. $PAGER may have arguments, e.g. "less -is".
>But $READNULLCMD can't:
>Is it a bug?

No.  Arguments in $PAGER might or might not work, depending on the
program interpreting it.  (I am of the opinion that they should not
work.)

It might be useful to allow $READNULLCMD to be an array, containing
arguments, through which *any* command could be executed using eval.
This obviously can't be done to $PAGER, so these should not be merged.

-zefram



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