From 9eba598fe5a7eb9c5649b2f1fa56b8181f249405 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 21 May 2024 11:23:36 -0400 Subject: fix variable export in zshrc --- dot_zshrc.tmpl | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'dot_zshrc.tmpl') 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 -- cgit v1.2.3