-
Notifications
You must be signed in to change notification settings - Fork 2
/
zprofile
20 lines (18 loc) · 862 Bytes
/
zprofile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# DOCS: .zlogin and .zprofile do the same thing. They set the environment for
# login shells. The only difference is they just get loaded at different times.
# This is the place to put user facing env variables
#
# WARN: Apple terminal initially opens both a login and an interactive shell even
# though you don't authenticate (i.e., enter login credentials). That’s why
# .zshrc will always be loaded. However, after the first terminal session, any
# subsequent shells that are opened are only interactive; thus .zprofile will
# not be loaded.
export BROWSER=firefox
export VISUAL=nvim
export EDITOR=nvim
export GOROOT=$HOME/.go
export MANPAGER="sh -c 'col -bx | bat -l man -p --theme=\"default\"'"
export MANROFFOPT="-c"
export ASDF_DATA_DIR=$XDG_DATA_HOME/.asdf
# As recommended in https://wiki.archlinux.org/title/Zsh
emulate sh -c 'source /etc/profile'