Hide username if it's not root.

This commit is contained in:
gardouille 2015-09-09 16:01:45 +02:00
parent bff27aecd7
commit 27d3c41fbd
1 changed files with 1 additions and 1 deletions

2
zshrc
View File

@ -684,7 +684,7 @@ if [ "`id -u`" -eq 0 ]; then ## Root
export PS1="$heure $user_root$at$host $repertoire_courant$root $normal"
# export PS1="%{$bleu_clair%T %{$rouge%n%{$jaune@%{$blanc%m %{$vert%c%{$jaune%#%{%} "
else ## Simple utilisateur
export PS1="$heure $user$at$host $repertoire_courant$noroot $normal"
export PS1="$heure $host $repertoire_courant$noroot $normal"
fi