From c7349c4939d419e802da0e91e27b658f827410cf Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 2 Mar 2021 08:47:23 +0100 Subject: [PATCH] zsh: Unset LESS_TERMCAP_* variables --- users/simon/modules/zsh.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/users/simon/modules/zsh.nix b/users/simon/modules/zsh.nix index ab02f4f..b2b8b31 100644 --- a/users/simon/modules/zsh.nix +++ b/users/simon/modules/zsh.nix @@ -52,6 +52,18 @@ in # no sad smiley (starship shows exit status) zstyle ':prompt:grml:right:setup' items + # 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) + unset \ + LESS_TERMCAP_mb \ + LESS_TERMCAP_md \ + LESS_TERMCAP_me \ + LESS_TERMCAP_se \ + LESS_TERMCAP_so \ + LESS_TERMCAP_ue \ + LESS_TERMCAP_us + source ${../files/zsh/pass-wrappers.zsh} ''; };