-
Notifications
You must be signed in to change notification settings - Fork 1
/
zprofile
26 lines (21 loc) · 840 Bytes
/
zprofile
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
#!/usr/bin/env zsh
# set -x
# set -e
# TODO: make it work
# forcing paths on a mac
export -- PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
# env shell configs
test -f ~/.shell/shell_envs && source ~/.shell/shell_envs
test -f ~/.shell/path_envs && source ~/.shell/path_envs
test -f ~/.shell/path_envs_private && source ~/.shell/path_envs_private
test -f ~/.shell/config_ruby_envs && source ~/.shell/config_ruby_envs
## env zsh specific
test -f ~/.zsh/zsh_paths && source ~/.zsh/zsh_paths
## env for docker
test -f ~/.profile && source ~/.profile
test -f ~/.profile_wonolo_private && source ~/.profile_wonolo_private
# TODO: make it work
# for code editors to have access to linters and autocomplete see zshenv
# launchctl setenv PATH ${PATH}
# source_node_env
# source_ruby_env