You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/dot_zshenv.tmpl

25 lines
660 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 }}
# juliaup setup
export PATH="$HOME/.julia/bin:$PATH"
export PATH="$HOME/.julia/juliaup/bin:$PATH"
export PATH="$HOME/.juliaup/bin:$PATH"
fpath+=($HOME/.julia/completions)
# 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