Single-line prompt
This commit is contained in:
parent
49cc40e756
commit
d655448001
1 changed files with 2 additions and 2 deletions
|
@ -77,9 +77,9 @@ bind 'set completion-ignore-case on'
|
|||
|
||||
if test $(id -u) -eq 0
|
||||
then
|
||||
export PS1="\[\033[01;35m\]┌─ \u @ \h ────\n└─ #\[\033[00m\] "
|
||||
export PS1="\[\033[01;35m\]\u@\h\#\[\033[00m\] "
|
||||
else
|
||||
export PS1="\[\033[01;35m\]┌─ \u @ \h ────\n└─ $\[\033[00m\] "
|
||||
export PS1="\[\033[01;35m\]\u@\h\$\[\033[00m\] "
|
||||
alias dnf="dnf --cacheonly --nogpgcheck"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue