zsh: Do not match #

Nix flakes use # extensively, so quoting '#' every time is not feasible.

This needs to be added to the end of initExtra so other commands do not
reset it.
pull/52/head
Simon Bruder 2021-05-01 16:50:16 +02:00
parent 5b5bf546b3
commit d704dab620
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 4 additions and 1 deletions

View File

@ -64,12 +64,15 @@ in
envExtra = ''
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
'';
initExtra = ''
initExtra = 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
# do not glob # (conflicts with nix flakes)
disable -p '#'
# grml config sets these but systemd --user import-environment doesnt
# like escape sequences in environment variables
# FIXME: remove with systemd 248 (https://github.com/systemd/systemd/commit/30927a24848c4d727f7619cc74b878f098cdd724)