1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-21 16:53:33 +01:00

[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

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