Add username to prompt
This commit is contained in:
parent
51af298b2a
commit
f4a89b7a25
1 changed files with 2 additions and 2 deletions
|
@ -126,9 +126,9 @@ bind 'set bell-style none'
|
|||
bind 'set completion-ignore-case on'
|
||||
|
||||
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
|
||||
export PS1="\[\033[01;32m\]\h\[\033[01;34m\]\$\[\033[00m\] "
|
||||
export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\]\$\[\033[00m\] "
|
||||
fi
|
||||
|
||||
alias 7zencrypt="7z a -t7z -p -mhe"
|
||||
|
|
Loading…
Reference in a new issue