diff options
author | lassulus <lass@aidsballs.de> | 2015-09-23 15:15:56 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-09-23 15:15:56 +0200 |
commit | cdc490e504b30062765578d66a7f5ccd6449b7b6 (patch) | |
tree | c36a65be8888a6aa8b7c03b63fe4e7cbfd500cc3 /lass/2configs/zsh.nix | |
parent | d8867aac2610ce548ecb6d0c6a9ec44158f595fe (diff) |
lass 2 zsh: fix space in prompt
Diffstat (limited to 'lass/2configs/zsh.nix')
-rw-r--r-- | lass/2configs/zsh.nix | 8 |
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"; |