diff options
Diffstat (limited to 'profile/xdg.sh')
-rw-r--r-- | profile/xdg.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/profile/xdg.sh b/profile/xdg.sh index 7d0ed61..71ab6bb 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" |
@@ -23,3 +23,8 @@ export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" | |||
23 | 23 | ||
24 | # Xorg | 24 | # Xorg |
25 | export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-$HOME}" | 25 | export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-$HOME}" |
26 | export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" | ||
27 | export XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc" | ||
28 | |||
29 | # Notmuch | ||
30 | export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:=$HOME/.config}/notmuch/config" | ||