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
27d574a
..
3cb3c7c
100644
(file)
--- a/
shell/.bashrc
+++ b/
shell/.bashrc
@@
-12,7
+12,11
@@
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 CLEAN_HOME=/opt/clean
@@
-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