X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.bashrc;h=3cb3c7cca76d09ad46f82bf2640d4c13985f9596;hb=c94b5c084a07c28fcefabb4daa7f83d4a0749c06;hp=b8871573c4bd34b9881f5bd17d74a96b2b84d481;hpb=cc10c0e6d1a2c086a31249b31f963f6591a674f0;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index b887157..3cb3c7c 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -12,12 +12,17 @@ export BROWSER=firefox export PAGER=more export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass -export NOTMUCH_CONFIG=~/.config/notmuch/config + +# XDG fixes +export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}"/notmuch/config +export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}"/pass +export TMUX_TMPDIR="$XDG_RUNTIME_DIR" export CLEAN_HOME=/opt/clean + export PATH=~/.local/bin:$PATH export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin -export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux:/opt/zotero:/opt/arduino +export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux:/opt/zotero:/opt/arduino:/opt/beets/bin export GTK_IM_MODULE=xim export QT_IM_MODULE=xim @@ -26,8 +31,7 @@ alias ls='ls --color=auto' alias grep='grep --color=auto' alias vi=vim alias latexmk='make -f ~/.local/bin/latex.mk' -export TMUX_TMPDIR="$XDG_RUNTIME_DIR" -alias tmux='tmux -f ~/.config/tmux/config' +alias tmux="tmux -f \"${XDG_CONFIG_HOME:-$HOME/.config}/tmux/config\"" alias shutdown="echo \"Are you sure? I\'m Ygdrassil\" && read && shutdown" . /etc/bash_completion