Improve prompt

This commit is contained in:
Anthony Rose 2021-05-02 19:56:39 +01:00
parent 1306ed2ec7
commit 87976c34ca

View file

@ -131,9 +131,9 @@ bind 'set completion-ignore-case on'
if test $(id -u) -eq 0 if test $(id -u) -eq 0
then then
export PS1="\[\033[01;32m\]\u@\h\[\033[01;31m\]\#\[\033[00m\] " export PS1="\[\033[01;32m\]╭─ \u @ \h ────\n╰─ #\[\033[00m\] "
else else
export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\]\$\[\033[00m\] " export PS1="\[\033[01;32m\]╭─ \u @ \h ────\n╰─ $\[\033[00m\] "
alias dnf="dnf -C" alias dnf="dnf -C"
fi fi