summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-09-23 15:15:56 +0200
committerlassulus <lass@aidsballs.de>2015-09-23 15:15:56 +0200
commitcdc490e504b30062765578d66a7f5ccd6449b7b6 (patch)
treec36a65be8888a6aa8b7c03b63fe4e7cbfd500cc3 /lass/2configs
parentd8867aac2610ce548ecb6d0c6a9ec44158f595fe (diff)
lass 2 zsh: fix space in prompt
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/zsh.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/lass/2configs/zsh.nix b/lass/2configs/zsh.nix
index c3402eaf4..64aa45823 100644
--- a/lass/2configs/zsh.nix
+++ b/lass/2configs/zsh.nix
@@ -103,23 +103,21 @@
case $UID in
0)
- username='%F{red}root%f'
+ username='%F{red}root%f '
;;
1337)
username=""
;;
*)
- username='%F{blue}%n%f'
+ username='%F{blue}%n%f '
;;
esac
if test -n "$SSH_CLIENT"; then
PROMPT="$error$username@%F{magenta}%M%f %~ "
else
- PROMPT="$error$username %~ "
+ PROMPT="$error$username%~ "
fi
-
-
'';
};
users.defaultUserShell = "/run/current-system/sw/bin/zsh";