diff options
author | Ryan Kavanagh <rak@rak.ac> | 2024-05-21 11:23:36 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2024-05-21 11:23:36 -0400 |
commit | 9eba598fe5a7eb9c5649b2f1fa56b8181f249405 (patch) | |
tree | 4d7c40452ba4198b4119a6d4144b5e6347ea11ef | |
parent | Set filetype for neomutt drafts to mail in vim (diff) |
fix variable export in zshrc
-rw-r--r-- | dot_zshrc.tmpl | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 62fef86..f43a987 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -51,28 +51,17 @@ export PAGER=less export LESS=-FQXR export PDFVIEWER=evince export BROWSER=firefox -export TEXMFHOME=${HOME}/.texmf export KRB5CCNAME=DIR:${HOME}/.cache/krb5cc # kerberos credentials cache export GOPATH=${HOME}/.go -for common in ${HOME}/.config/sh/*; do +for common in "${HOME}/.config/sh/"*; do [ -f "${common}" ] && . "${common}" done -export PATH=/usr/sbin:/sbin:${PATH} -case `uname` in - Linux) - ;; - Darwin) - export PATH=/opt/local/bin:/opt/local/sbin:/usr/sbin:/sbin:$PATH +if [ "$(uname)" = "Darwin" ]; then + export PATH="/opt/local/bin:/opt/local/sbin:${PATH}" export MANPATH=/opt/local/share/man:${MANPATH} - ;; - OpenBSD) - export PATH=/usr/games:${PATH} - ;; - *) -esac -export PATH=${HOME}/bin:${PATH} +fi # END LOCAL |