zsh: Explicitly disable prompt in user config
Otherwise starship does not work in 21.05.
This commit is contained in:
parent
091f6b0e14
commit
54288988de
|
@ -64,17 +64,22 @@ in
|
||||||
envExtra = ''
|
envExtra = ''
|
||||||
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
|
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
|
||||||
'';
|
'';
|
||||||
initExtra = lib.mkAfter ''
|
initExtra = lib.mkMerge [
|
||||||
eval $(${pkgs.coreutils}/bin/dircolors -b ${dircolors-solarized}/dircolors.ansi-universal)
|
(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)
|
# no sad smiley (starship shows exit status)
|
||||||
zstyle ':prompt:grml:right:setup' items
|
zstyle ':prompt:grml:right:setup' items
|
||||||
|
|
||||||
# do not glob # (conflicts with nix flakes)
|
# do not glob # (conflicts with nix flakes)
|
||||||
disable -p '#'
|
disable -p '#'
|
||||||
|
|
||||||
source ${../files/zsh/pass-wrappers.zsh}
|
source ${../files/zsh/pass-wrappers.zsh}
|
||||||
'';
|
'')
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue