diff options
Diffstat (limited to 'profile')
-rw-r--r-- | profile/xdg.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 | |||
13 | mkdir -p "$XDG_CACHE_HOME"/less | 13 | mkdir -p "$XDG_CACHE_HOME"/less |
14 | 14 | ||
15 | # Vim | 15 | # Vim |
16 | export VIMINIT="let \$MYVIMRC=\"$XDG_CONFIG_HOME/vim/vimrc\" | source \$MYVIMRC" | 16 | export VIMINIT="source ${XDG_CONFIG_HOME:=$HOME/.config}/vim/vimrc" |
17 | 17 | ||
18 | # Weechat | 18 | # Weechat |
19 | export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat" | 19 | export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat" |
@@ -25,3 +25,6 @@ export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" | |||
25 | export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" | 25 | export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" |
26 | export XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc" | 26 | export XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc" |
27 | export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" | 27 | export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" |
28 | |||
29 | # Notmuch | ||
30 | export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:=$HOME/.config}/notmuch/config" | ||