Add username to prompt

This commit is contained in:
Anthony Rose 2021-02-21 15:20:49 +00:00
parent 51af298b2a
commit f4a89b7a25

View file

@ -126,9 +126,9 @@ bind 'set bell-style none'
bind 'set completion-ignore-case on' bind 'set completion-ignore-case on'
if test $(id -u) -eq 0; then if test $(id -u) -eq 0; then
export PS1="\[\033[01;32m\]\h\[\033[01;31m\]\#\[\033[00m\] " export PS1="\[\033[01;32m\]\u@\h\[\033[01;31m\]\#\[\033[00m\] "
else else
export PS1="\[\033[01;32m\]\h\[\033[01;34m\]\$\[\033[00m\] " export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\]\$\[\033[00m\] "
fi fi
alias 7zencrypt="7z a -t7z -p -mhe" alias 7zencrypt="7z a -t7z -p -mhe"