repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
last xdg fixes
[dotfiles.git]
/
shell
/
.bashrc
diff --git
a/shell/.bashrc
b/shell/.bashrc
index
09a6848
..
3cb3c7c
100644
(file)
--- a/
shell/.bashrc
+++ b/
shell/.bashrc
@@
-12,13
+12,17
@@
export BROWSER=firefox
export PAGER=more
export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass
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 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
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
@@
-27,8
+31,7
@@
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias vi=vim
alias latexmk='make -f ~/.local/bin/latex.mk'
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
alias shutdown="echo \"Are you sure? I\'m Ygdrassil\" && read && shutdown"
. /etc/bash_completion