You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the --intr option takes a string parameter, it needs to be terminated with a dollar sign, like
LESS='--intr=c$ --prompt=test' less <file>
Since only the first character or two characters (in the case of a caret followed by a character) are significant, the dollar sign requirement is somewhat nonintuitive. I will leave this issue open as an enhancement request to not require the dollar sign.
Fixed in 3440a1d.
The --intr option, as well as a few other options which take a string parameter, can be terminated with a space as well as with a dollar sign.
Setting a prompt doesn't work when the
--intr=
option is used.LESS='--prompt=test' less <file>
sets the prompt totest
as expected, while the following command fails to set the prompt:Version: less 643
The text was updated successfully, but these errors were encountered: