X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.bashrc;h=e84f4e173cfb55fe3ab8eb2c9c4ad5731426e3dc;hb=3204decf4f5e3c96c02055af97a83a3f19f4d49d;hp=2ccc4c5d5df68209b0ebd830b9a05cb355b08c76;hpb=dbe697799605c94802426a3c5045537a1b41c2b6;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index 2ccc4c5..e84f4e1 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -9,16 +9,24 @@ export TERMINAL=~/projects/st/st export EDITOR="vim -p" export TERM=screen export BROWSER=firefox -export PAGER=more +export PAGER=less export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass -export NOTMUCH_CONFIG=~/.config/notmuch/config + +# XDG fixes +alias svn="svn --config-dir \"${XDG_CONFIG_HOME:-$HOME/.config}\"/subversion" +alias tmux="tmux -f \"${XDG_CONFIG_HOME:-$HOME/.config}/tmux/config\"" +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:/opt/beets/bin" +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:/opt/beets/bin + +export MANPATH=~/.local/share/man:$MANPATH export GTK_IM_MODULE=xim export QT_IM_MODULE=xim @@ -27,8 +35,6 @@ 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 shutdown="echo \"Are you sure? I\'m Ygdrassil\" && read && shutdown" . /etc/bash_completion