zsh: Explicitly disable prompt in user config

Otherwise starship does not work in 21.05.
pull/24/head
Simon Bruder 2021-05-24 22:13:15 +02:00
parent 091f6b0e14
commit 54288988de
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 13 additions and 8 deletions

View File

@ -64,17 +64,22 @@ in
envExtra = ''
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
'';
initExtra = lib.mkAfter ''
eval $(${pkgs.coreutils}/bin/dircolors -b ${dircolors-solarized}/dircolors.ansi-universal)
initExtra = lib.mkMerge [
(lib.mkBefore ''
prompt off # collides with starship
'')
(lib.mkAfter ''
eval $(${pkgs.coreutils}/bin/dircolors -b ${dircolors-solarized}/dircolors.ansi-universal)
# no sad smiley (starship shows exit status)
zstyle ':prompt:grml:right:setup' items
# no sad smiley (starship shows exit status)
zstyle ':prompt:grml:right:setup' items
# do not glob # (conflicts with nix flakes)
disable -p '#'
# do not glob # (conflicts with nix flakes)
disable -p '#'
source ${../files/zsh/pass-wrappers.zsh}
'';
source ${../files/zsh/pass-wrappers.zsh}
'')
];
};
};
}