From 27d3c41fbda8dbf763bff34792ad25e378617627 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 9 Sep 2015 16:01:45 +0200 Subject: [PATCH] Hide username if it's not root. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index e710836..5e2e64f 100644 --- a/zshrc +++ b/zshrc @@ -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