From d704dab620b26793de4ec4c0ed15ef9cbe8c0b3f Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 1 May 2021 16:50:16 +0200 Subject: [PATCH] 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. --- users/simon/modules/zsh.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/users/simon/modules/zsh.nix b/users/simon/modules/zsh.nix index a20b0f3..5faca3d 100644 --- a/users/simon/modules/zsh.nix +++ b/users/simon/modules/zsh.nix @@ -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 doesn’t # like escape sequences in environment variables # FIXME: remove with systemd 248 (https://github.com/systemd/systemd/commit/30927a24848c4d727f7619cc74b878f098cdd724)