]> arthur.barton.de Git - ax-zsh.git/commitdiff
ax_logname_prompt_root(): Don't output user name
authorAlexander Barton <alex@barton.de>
Sun, 27 Sep 2015 18:25:02 +0000 (20:25 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 27 Sep 2015 18:25:02 +0000 (20:25 +0200)
This fixes b51f608157.

core/50_prompt/50_prompt.zshrc

index d525024c58eddfd47975c1730d6abeeb6ffd3da7..a5e42b1c4c62efbf900f4b3da06512151660a2fc 100644 (file)
@@ -10,7 +10,6 @@ ZSH_THEME_LOGNAME_PROMPT_SUFFIX="%{$reset_color%}@"
 
 function ax_logname_prompt_root() {
        (( $UID == 0 )) || return 1
-       echo "$LOGNAME"
        return 0
 }