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
then
export PS1="\[\033[01;32m\]\u@\h\[\033[01;31m\]\#\[\033[00m\] "
export PS1="\[\033[01;32m\]╭─ \u @ \h ────\n╰─ #\[\033[00m\] "
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"
fi