-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zprofile.tmpl
54 lines (39 loc) · 1.34 KB
/
dot_zprofile.tmpl
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
source "$HOME/.cargo/env"
eval "$(/opt/homebrew/bin/brew shellenv)"
# PATH
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.bin" ] ; then
PATH="$HOME/.bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/.cargo/bin" ] ; then
PATH="$HOME/.cargo/bin:$PATH"
fi
# precedence of homebrew apps over others
export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
# hides user@hostname in theme agnoster if the user is DEFAULT_USER
export DEFAULT_USER="leon"
# default editor (chezmoi)
export EDITOR="micro"
# gpg key
export GPG_TTY=$(tty)
# userzoom keys and tokens
export GITHUB_ACCESS_TOKEN={{ (onepasswordDetailsFields "2qaegfeerzcudgbx5zmdjtcjeu").credential.value }}
# userzoom env variables
export PX_PATH=/Users/leonh/uz
export SE_PATH=/Users/leonh/uz
export INFRASTRUCTURE_PATH=/Users/leonh/uz/local-environment
# userzoom krew
export PATH="${PATH}:${HOME}/.krew/bin"
# go
export GOPATH="$HOME/go"
export PATH="$(go env GOPATH)/bin:$PATH"
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$(brew --prefix)/opt/nvm/nvm.sh" ] && . "$(brew --prefix)/opt/nvm/nvm.sh" # This loads nvm
[ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && . "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
eval "$(/opt/homebrew/bin/brew shellenv)"