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

Re: Calling interactive command inside widget



On Wed, 13 Apr 2016 00:58:04 +0300
Evgeny Zajcev <lg.zevlg@xxxxxxxxx> wrote:
> I'v created simple widget like:
> 
>   just-run-man () {
>       man man
>   }
>   zle -N just-run-man
>   bindkey "^[h" just-run-man
> 
> And also got
> 
>   Missing filename ("less --help" for help)

There's nothing much to go wrong in this ultra-simple example.  I would
suspect it's a problem not visible here, e.g. something associated with
less like the LESSOPEN variable has gone haywire.  To investigate, try
setting PAGER=more and see if that works.

pws



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