Single PS1 for all users
This commit is contained in:
parent
3031afe7e7
commit
119e276af0
1 changed files with 3 additions and 5 deletions
|
@ -78,12 +78,10 @@ bind '"\e[B": history-search-forward'
|
|||
bind 'set bell-style none'
|
||||
bind 'set completion-ignore-case on'
|
||||
|
||||
if test $(id -u) -eq 0
|
||||
export PS1="\[\033[01;35m\]\u@\h>\[\033[00m\] "
|
||||
if test $(id -u) -ne 0 && test -x /usr/bin/dnf
|
||||
then
|
||||
export PS1="\[\033[01;35m\]\u@\h\#\[\033[00m\] "
|
||||
else
|
||||
export PS1="\[\033[01;35m\]\u@\h\$\[\033[00m\] "
|
||||
alias dnf="dnf --cacheonly --nogpgcheck"
|
||||
alias dnf="/usr/bin/dnf --cacheonly --nogpgcheck"
|
||||
fi
|
||||
|
||||
alias 7zencrypt="7z a -t7z -p -mhe"
|
||||
|
|
Loading…
Reference in a new issue