X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.bashrc;h=3cb3c7cca76d09ad46f82bf2640d4c13985f9596;hb=c94b5c084a07c28fcefabb4daa7f83d4a0749c06;hp=43c5087ce3820c54f1af68c0605104679243175f;hpb=7d26c31904f426d28913aed8ba7ede20fb0c496d;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index 43c5087..3cb3c7c 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -1,38 +1,38 @@ -shopt -s checkwinsize +shopt -s checkwinsize histappend globstar export HISTCONTROL=erasedups export HISTFILESIZE=NOTHING export HISTSIZE=NOTHING -shopt -s histappend export PROMPT_COMMAND='history -a' export TERMINAL=~/projects/st/st export EDITOR="vim -p" export TERM=screen export BROWSER=firefox -export PAGER=less +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:~/projects/esp-open-sdk/xtensa-lx106-elf/bin -export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux +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 -# transparency in some applications such as mutt -export COLORFGBG="default;default" - 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