From 5cb49bbf5b126db5f8767bf315776d174065d059 Mon Sep 17 00:00:00 2001 From: caem Date: Mon, 15 Jul 2024 13:48:57 +0200 Subject: [PATCH] zsh: Add space before nix-shell part in ps1 --- users/hu/packages/zsh/config/conf.d/ps1.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/hu/packages/zsh/config/conf.d/ps1.zsh b/users/hu/packages/zsh/config/conf.d/ps1.zsh index 2738ad4..f1ba242 100755 --- a/users/hu/packages/zsh/config/conf.d/ps1.zsh +++ b/users/hu/packages/zsh/config/conf.d/ps1.zsh @@ -11,9 +11,9 @@ esac if [ -n "$IN_NIX_SHELL" ]; then if [ -z "$NIX_SHELL_PACKAGES" ]; then - nix_shell_ps1="%F{red}nix-shell%f" + nix_shell_ps1=" %F{red}nix-shell%f" else - nix_shell_ps1="%F{red}{ $NIX_SHELL_PACKAGES }%f" + nix_shell_ps1=" %F{red}{ $NIX_SHELL_PACKAGES }%f" fi else nix_shell_ps1=""