-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzshenv
31 lines (21 loc) · 782 Bytes
/
zshenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
: ${ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim}
export BROWSER=firefox
export EDITOR=nvim
export PATH="$HOME/.cargo/bin:$HOME/.local/bin:$HOME/bin:$PATH"
export GPG_TTY=$(tty)
export WINIT_HIDPI_FACTOR=1.0
# go
if [[ -x $(which go) ]]; then
export GOPATH=${HOME}/.go
export PATH=${PATH}:/usr/local/go/bin:${GOPATH}/bin
fi
# mise
[[ -x $(which mise) ]] && eval "$(mise activate zsh)"
# direnv
[[ -x $(which direnv) ]] && eval "$(direnv hook zsh)"
# zoxide
[[ -x $(which zoxide) ]] && eval "$(zoxide init zsh)"
# zellij
[[ -x $(which zellij) ]] && zellij setup --generate-completion zsh >! $HOME/.config/zellij/completions/_zellij && export FPATH="$HOME/.config/zellij/completions:$FPATH"
# Load local configuration
[[ -f ${HOME}/.zshenv_local ]] && source ${HOME}/.zshenv_local