aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-10-29 11:44:44 -0400
committerRyan Kavanagh <rak@rak.ac>2022-10-29 11:44:44 -0400
commitaa36a356f67ed26de75c6140b093354bde41e20c (patch)
treea9b5213af0b68a6278334f2d4f3cbf201da9f02e /dot_zshrc.tmpl
parentdrop egrep from zshrc (diff)
add alias for llocate for locate on home directory
Diffstat (limited to '')
-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