Skip to content

fix: unset PAGER, LESS, PROMPT_COMMAND env vars in Shell#274

Merged
eldipa merged 1 commit intomasterfrom
Issue-269-Unset-PAGER-LESS-PROMPT-and-other-Env-Vars
Nov 14, 2022
Merged

fix: unset PAGER, LESS, PROMPT_COMMAND env vars in Shell#274
eldipa merged 1 commit intomasterfrom
Issue-269-Unset-PAGER-LESS-PROMPT-and-other-Env-Vars

Conversation

@eldipa
Copy link
Copy Markdown
Collaborator

@eldipa eldipa commented Nov 14, 2022

This shell variable may interfere with the examples as they are executed quite often and they are probably tweaked by the user for his/her shell and not for byexample's shell.

Because we are not loading any rc or profile file, it is unlikely that these variables are set in a byexample shell session however it is better to be sure.

Closes #269

This shell variable may interfere with the examples as they are executed
quite often and they are probably tweaked by the user for his/her
shell and not for byexample's shell.

Because we are not loading any rc or profile file, it is unlikely that
these variables are set in a byexample shell session however it is
better to be sure.
@eldipa eldipa added this to the 11.0.0 milestone Nov 14, 2022
@eldipa eldipa merged commit fe78593 into master Nov 14, 2022
@eldipa eldipa deleted the Issue-269-Unset-PAGER-LESS-PROMPT-and-other-Env-Vars branch November 14, 2022 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set PAGER=cat and PROMPT_COMMAND='' in Bash (taken from pexpect.replwrap)

1 participant