We can export variables from the command line with
set -x, but I'd like to know how to do this from within a file. The reason is that I'm organizing my $HOME directory according to the XDG convention, and the Arch wiki says this about zsh:
~/.zshenv. You could also add this to
I want to effect an export from
/etc/zsh/zshenv to avoid cluttering my $HOME. Can I simply input the Fish Shell command
set -x from within this file or is there an alternative?