Considering the fixes to keep a clean home are applied with 2 different methods :
Through environment variables set in "$XDG_CONFIG_HOME"/zsh/zprofile and loaded on logging...
and
Aliased commands loaded when an interactive shell is spawn ("$XDG_CONFIG_HOME"/zsh/zshrc calling aliasrc)
The first statement is valid for a general use case but say, one runs a program (which only "complies" to XDG with an aliased command) from dmenu, it will just be picked from the path, avoiding the setting.
It should be possible somehow that dmenu reads the alias file to load only the settings applying the XDG Spec. So for programs not only run from the shell.
Considering the fixes to keep a clean home are applied with 2 different methods :
"$XDG_CONFIG_HOME"/zsh/zprofile
and loaded on logging... and"$XDG_CONFIG_HOME"/zsh/zshrc
calling aliasrc)The first statement is valid for a general use case but say, one runs a program (which only "complies" to XDG with an aliased command) from
dmenu
, it will just be picked from the path, avoiding the setting.It should be possible somehow that
dmenu
reads the alias file to load only the settings applying the XDG Spec. So for programs not only run from the shell.