SHLVL typo
This commit is contained in:
parent
5c69465509
commit
a561bc881a
|
@ -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\]"
|
||||||
|
|
Loading…
Reference in New Issue