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} ''; };