[bash] explicitly set SHORTPS1 so it will show up in printenv

This is a toggle built into __PROMPT_COMMAND__ to toggle a newline at the end of the prompt. I couldn't easily trace the name..
This commit is contained in:
Eric Teunis de Boone 2023-01-09 12:45:02 +01:00
parent efa88e6963
commit f8a1d54124
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
# .bash_files
# /PS
# Set default to empty so it will show up in printenv
SHORTPS1=${SHORTPS1:-}
export SHORTPS1
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt