From fbbaa4d40f73a5350671f286b07ab3dc58f07321 Mon Sep 17 00:00:00 2001
From: *Kim Zick <k@9k1.us>
Date: Sat, 26 Jun 2021 06:36:51 -0400
Subject: [PATCH] nixos/zsh: change default prompt theme to 'suse'

This resolves a long-standing issue caused by the 'walters' theme setting `RPS1`.  See #38535 for discussion details.
---
 nixos/modules/programs/zsh/zsh.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix
index 049a315c7622..48638fda28da 100644
--- a/nixos/modules/programs/zsh/zsh.nix
+++ b/nixos/modules/programs/zsh/zsh.nix
@@ -91,7 +91,7 @@ in
           # before setting your PS1 and etc. Otherwise this will likely to interact with
           # your ~/.zshrc configuration in unexpected ways as the default prompt sets
           # a lot of different prompt variables.
-          autoload -U promptinit && promptinit && prompt walters && setopt prompt_sp
+          autoload -U promptinit && promptinit && prompt suse && setopt prompt_sp
         '';
         description = ''
           Shell script code used to initialise the zsh prompt.