From 8364529fc49f35294c2fcc23f7caa0becd6e5cdf Mon Sep 17 00:00:00 2001 From: Cuichen Li Date: Fri, 12 Aug 2022 17:26:39 +0800 Subject: [PATCH] fix zsh eating output without new line ending --- modules/programs/zsh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/zsh/default.nix b/modules/programs/zsh/default.nix index 4eb40595..d26da0ef 100644 --- a/modules/programs/zsh/default.nix +++ b/modules/programs/zsh/default.nix @@ -54,7 +54,7 @@ in programs.zsh.promptInit = mkOption { type = types.lines; - default = "autoload -U promptinit && promptinit && prompt walters"; + default = "autoload -U promptinit && promptinit && prompt walters && setopt prompt_sp"; description = lib.mdDoc "Shell script code used to initialise the zsh prompt."; };