mirror of
https://github.com/MillironX/dotfiles.git
synced 2024-11-14 10:53:09 +00:00
Thomas A. Christensen II
397a2f9ac8
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
18 lines
488 B
Cheetah
18 lines
488 B
Cheetah
# shellcheck shell=bash
|
|
|
|
{{ if (or (eq .chezmoi.hostname "Atlas-login-1") (eq .chezmoi.hostname "Atlas-login-2")) -}}
|
|
# Workaround for SCINet admins clobbering fpath
|
|
fpath+=($HOME/.local/share/zsh/5.8/functions)
|
|
{{- end }}
|
|
|
|
# Linuxbrew setup
|
|
if [ -d $HOME/../linuxbrew/.linuxbrew ]; then
|
|
BREWPATH=$HOME/../linuxbrew/.linuxbrew
|
|
elif [ -d $HOME/.linuxbrew ]; then
|
|
BREWPATH=$HOME/.linuxbrew
|
|
fi
|
|
|
|
if [ -n "$BREWPATH" ]; then
|
|
fpath+=($BREWPATH/share/zsh/site-functions)
|
|
export fpath
|
|
fi
|