Hide username if it's not root.
This commit is contained in:
		
							parent
							
								
									bff27aecd7
								
							
						
					
					
						commit
						27d3c41fbd
					
				
							
								
								
									
										2
									
								
								zshrc
								
								
								
								
							
							
						
						
									
										2
									
								
								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%#%{[0m%} " | ||||
| else ## Simple utilisateur | ||||
|   export PS1="$heure $user$at$host $repertoire_courant$noroot $normal" | ||||
|   export PS1="$heure $host $repertoire_courant$noroot $normal" | ||||
| fi | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue