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.
This commit is contained in:
Simon Bruder 2021-05-01 16:50:16 +02:00
parent 5b5bf546b3
commit d704dab620
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -64,12 +64,15 @@ in
envExtra = '' envExtra = ''
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
''; '';
initExtra = '' initExtra = lib.mkAfter ''
eval $(${pkgs.coreutils}/bin/dircolors -b ${dircolors-solarized}/dircolors.ansi-universal) 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)
disable -p '#'
# grml config sets these but systemd --user import-environment doesnt # grml config sets these but systemd --user import-environment doesnt
# like escape sequences in environment variables # like escape sequences in environment variables
# FIXME: remove with systemd 248 (https://github.com/systemd/systemd/commit/30927a24848c4d727f7619cc74b878f098cdd724) # FIXME: remove with systemd 248 (https://github.com/systemd/systemd/commit/30927a24848c4d727f7619cc74b878f098cdd724)