In PS1, use $/# in bash, and %/# in zsh
This commit is contained in:
parent
d84e2f040d
commit
87e3fd03ca
1 changed files with 2 additions and 2 deletions
|
@ -130,10 +130,10 @@ then
|
|||
bindkey "^[[B" history-beginning-search-forward
|
||||
fi
|
||||
|
||||
export PS1="\[\033[01m\]\u@\h>\[\033[00m\] "
|
||||
export PS1="\[\033[01m\]\u@\h\\$\[\033[00m\] "
|
||||
if [ -n "$ZSH_VERSION" ]
|
||||
then
|
||||
export PS1="%B%n@%m>%b "
|
||||
export PS1="%B%n@%m%#%b "
|
||||
fi
|
||||
|
||||
if test $(id -u) -ne 0 && test -x /usr/bin/dnf
|
||||
|
|
Loading…
Reference in a new issue