From a561bc881a87fcbc04ad56a866388dfd76e0c22e Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Mon, 18 Dec 2023 10:09:02 -0800 Subject: [PATCH] SHLVL typo --- src/blog/2023/shlvl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\]"