summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Höppner2018-04-22 11:05:29 +0200
committerTill Höppner2018-04-22 11:05:29 +0200
commitc99d48c957d62f1b9172e599ff325fa6c258acde (patch)
treeff11ffe2a45a049d20345bb4752f5cbd0a0dcfbc
parent998dc8d13c538ff42b47e2fcc1a0c2943c08dc4c (diff)
downloadzsh-c99d48c957d62f1b9172e599ff325fa6c258acde.tar.gz
zsh-c99d48c957d62f1b9172e599ff325fa6c258acde.tar.xz
zsh-c99d48c957d62f1b9172e599ff325fa6c258acde.zip
Proper prompt formatting when unknown user
-rw-r--r--conf.d/60-prompt.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/60-prompt.zsh b/conf.d/60-prompt.zsh
index 66146a5..7d46f70 100644
--- a/conf.d/60-prompt.zsh
+++ b/conf.d/60-prompt.zsh
@@ -77,7 +77,7 @@ left_prompt() {
case $USER in
"$PRIMARY_USER" | "root") ;;
- *) echo -n $USER
+ *) echo -n "$USER "
esac
if test -n "$SSH_TTY" \