From 5cfe9b4b03d3d964f483014cdba67b36dcf329c1 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 13 Apr 2022 17:06:51 -0500 Subject: Add and change variables --- profile/xdg.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/profile/xdg.sh b/profile/xdg.sh index caa1a9a..ed58c4f 100644 --- a/profile/xdg.sh +++ b/profile/xdg.sh @@ -13,7 +13,7 @@ export LESSHISTFILE="$XDG_CACHE_HOME"/less/history mkdir -p "$XDG_CACHE_HOME"/less # Vim -export VIMINIT="let \$MYVIMRC=\"$XDG_CONFIG_HOME/vim/vimrc\" | source \$MYVIMRC" +export VIMINIT="source ${XDG_CONFIG_HOME:=$HOME/.config}/vim/vimrc" # Weechat export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat" @@ -25,3 +25,6 @@ export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" export XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc" export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" + +# Notmuch +export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:=$HOME/.config}/notmuch/config" -- cgit 1.4.1-21-gabe81