1
0
Fork 0

SHLVL typo

This commit is contained in:
Tim Van Baak 2023-12-18 10:09:02 -08:00
parent 5c69465509
commit a561bc881a
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ This is what I added to my `.bashrc`. I decomposed it a bit to be more legible t
_TITLE_BAR="\u@\h: \w" _TITLE_BAR="\u@\h: \w"
_SET_TITLE_BAR="\[\e]0;$_TITLE_BAR\a\]" _SET_TITLE_BAR="\[\e]0;$_TITLE_BAR\a\]"
_PROMPT="\A \u\h:\w" _PROMPT="\A \u@\h:\w"
_SHLVL=$(printf '\$%.0s' $(seq 1 $SHLVL)) _SHLVL=$(printf '\$%.0s' $(seq 1 $SHLVL))
_PS1="$_SET_TITLE_BAR[$_PROMPT]$_SHLVL " _PS1="$_SET_TITLE_BAR[$_PROMPT]$_SHLVL "
export PS1="\[\033[1;32m\]$_PS1\[\033[0m\]" export PS1="\[\033[1;32m\]$_PS1\[\033[0m\]"