about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-08-20 13:20:30 -0400
committerGitHub <noreply@github.com>2019-08-20 13:20:30 -0400
commit1ab1e112571b741b1796d0972f6f1e4dd47b95b9 (patch)
tree62e34aff593c352ae76b9ce98d15faae371c8951 /nixos/modules
parent7dd98389c04c5290a9dc0977a84566d6e1106a68 (diff)
parent065c6ed96e0c89345ad5003656f8c2160f740ec1 (diff)
downloadnixlib-1ab1e112571b741b1796d0972f6f1e4dd47b95b9.tar
nixlib-1ab1e112571b741b1796d0972f6f1e4dd47b95b9.tar.gz
nixlib-1ab1e112571b741b1796d0972f6f1e4dd47b95b9.tar.bz2
nixlib-1ab1e112571b741b1796d0972f6f1e4dd47b95b9.tar.lz
nixlib-1ab1e112571b741b1796d0972f6f1e4dd47b95b9.tar.xz
nixlib-1ab1e112571b741b1796d0972f6f1e4dd47b95b9.tar.zst
nixlib-1ab1e112571b741b1796d0972f6f1e4dd47b95b9.zip
Merge pull request #66992 from oxij/nixos/fix-zsh-prompt
nixos: zsh: setopt prompt_sp to workaround a zsh bug
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/programs/zsh/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix
index bd1a77680663..3cbfd8fa4d32 100644
--- a/nixos/modules/programs/zsh/zsh.nix
+++ b/nixos/modules/programs/zsh/zsh.nix
@@ -70,7 +70,7 @@ in
       promptInit = mkOption {
         default = ''
           if [ "$TERM" != dumb ]; then
-              autoload -U promptinit && promptinit && prompt walters
+              autoload -U promptinit && promptinit && prompt walters && setopt prompt_sp
           fi
         '';
         description = ''