aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot_zshrc.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index beb6023..f71f266 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -61,6 +61,7 @@ export BROWSER=firefox
export TEXMFHOME=${HOME}/.texmf
export KRB5CCNAME=DIR:${HOME}/.cache/krb5cc # kerberos credentials cache
export GOPATH=${HOME}/.go
+export XDG_STATE_HOME="${HOME}/.local/state"
export PATH=/usr/sbin:/sbin:${PATH}
case `uname` in
@@ -96,6 +97,8 @@ alias vi='vim'
alias sm='tmux attach -t mail || tmux -f ${HOME}/.tmux-mail.conf attach -t mail'
alias sshfw='ssh -oForwardAgent=yes'
+alias llocate="locate -d ${XDG_STATE_HOME}/plocate/home.db"
+
# END LOCAL
. ${HOME}/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true