commit 11e6c4d2a0818f06a4cca0af74ab69bfec3a443f parent c685369597a2ef62e171b32a84622ad88a9950c8 Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de> Date: Tue, 21 Apr 2020 19:34:31 +0200 Configure several env variables Diffstat:
M | zsh/zprofile | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/zsh/zprofile b/zsh/zprofile @@ -15,8 +15,14 @@ path=(~/bin $(ruby -e 'print Gem.user_dir')/bin $path[@]) ## Variables ### ################ -# set EDITOR, VISUAL, PAGER and BROWSER variable +# default config path +export XDG_CONFIG_HOME=~/.config + +# set default programs export EDITOR="vim" export VISUAL="vim" export PAGER="less" export BROWSER="qutebrowser" + +# Program-specific variables +export WEECHAT_HOME=$XDG_CONFIG_HOME/weechat # weechat