From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-users@zsh.org
Subject: Re: Calling interactive command inside widget
Date: Wed, 13 Apr 2016 09:41:52 +0100 [thread overview]
Message-ID: <20160413094152.660d42a9@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CAO=W_Zqi0zSqMbDODTwFBs1tb_i2j=BJvSpk0S8xKbdqOR8Qfg@mail.gmail.com>
On Wed, 13 Apr 2016 00:58:04 +0300
Evgeny Zajcev <lg.zevlg@gmail.com> 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
next prev parent reply other threads:[~2016-04-13 8:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-12 21:58 Evgeny Zajcev
2016-04-13 8:41 ` Peter Stephenson [this message]
2016-04-13 17:55 ` Bart Schaefer
2016-04-16 8:21 ` frederik
2016-04-20 8:44 ` Sebastian Gniazdowski
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=20160413094152.660d42a9@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--cc=zsh-users@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).