1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-21 21:26:04 +00:00
dotfiles/dot_zshenv.tmpl

24 lines
596 B
Cheetah
Raw Normal View History

# 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 }}
2022-07-21 16:17:09 +00:00
# juliaup setup
if [ -d $HOME/.julia/juliaup/bin ]; then
export PATH="$HOME/.julia/juliaup/bin:$PATH"
fi
2021-08-26 12:52:09 +00:00
# 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
2021-08-26 12:53:37 +00:00
fpath+=($BREWPATH/share/zsh/site-functions)
export fpath
2021-08-26 12:52:09 +00:00
fi