diff --git a/src/blog/2023/shlvl.md b/src/blog/2023/shlvl.md index ec2f534..03366f8 100644 --- a/src/blog/2023/shlvl.md +++ b/src/blog/2023/shlvl.md @@ -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" _SET_TITLE_BAR="\[\e]0;$_TITLE_BAR\a\]" - _PROMPT="\A \u\h:\w" + _PROMPT="\A \u@\h:\w" _SHLVL=$(printf '\$%.0s' $(seq 1 $SHLVL)) _PS1="$_SET_TITLE_BAR[$_PROMPT]$_SHLVL " export PS1="\[\033[1;32m\]$_PS1\[\033[0m\]"