-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexports
117 lines (87 loc) · 2.66 KB
/
exports
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
export PATH=/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/linuxbrew/.linuxbrew/bin:$PATH
export VISUAL=nvim
export EDITOR=nvim
export LANG=pt_BR.UTF-8
if [ type foobar &> /dev/null ] ; then
export BREW_PREFIX=$(brew --prefix)
fi
if [ -d "$HOME/.rvm/bin" ] ; then
export PATH="$HOME/.rvm/bin:$PATH"
fi
if [ -d "$HOME/.exenv/bin" ] ; then
export PATH=$HOME/.exenv/bin:$PATH # Add exenv
fi
if [ -d "$BREW_PREFIX/opt/grep/libexec/gnubin" ] ; then
export PATH="$BREW_PREFIX/opt/grep/libexec/gnubin:$PATH"
fi
bindkey -e
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word
if [ "$COLORTERM" = "xfce4-terminal" ] ; then
export TERM=xterm-256color
fi
export GEM_EDITOR=nvim
if [ -d "$HOME/platform-tools" ] ; then
export PATH="$HOME/platform-tools:$PATH"
fi
if [ -x "$(command -v exenv)" ]; then
eval "$(exenv init -)"
fi
# Export kerl options and avoid install erlang with java
export KERL_CONFIGURE_OPTIONS="--without-javac"
if [ -d "$HOME/.poetry/bin" ] ; then
export PATH="$HOME/.poetry/bin:$PATH"
fi
if [ -d "${BREW_PREFIX}/opt/postgresql@15/bin" ]; then
export PATH="${BREW_PREFIX}/opt/postgresql@15/bin:$PATH"
fi
if [ -d "${BREW_PREFIX}/Cellar/postgresql@15/15.6_1/bin" ]; then
export PATH="${BREW_PREFIX}/Cellar/postgresql@15/15.6_1/bin:$PATH"
fi
# Disable venv PS1
export VIRTUAL_ENV_DISABLE_PROMPT=true
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export ERL_AFLAGS="-kernel shell_history enabled"
# pnpm
export PNPM_HOME="~/Library/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
if [ -d "$HOME/.docker/bin" ] ; then
export PATH="$HOME/.docker/bin:$PATH"
fi
if [ -d "$HOME/code/personal/podsync/bin" ] ; then
export PATH="$HOME/code/personal/podsync/bin:$PATH"
fi
if [ -d "$HOME/.google-cloud-proxy/bin" ]; then
export PATH="$HOME/.google-cloud-proxy/bin:$PATH"
fi
if [ -e "$HOME/.python-startup.py" ] ; then
export PYTHONSTARTUP=$HOME/.python-startup.py
fi
if [ -e "$HOME/.secrets" ] ; then
source "$HOME/.secrets"
fi
if [ -d "$HOME/.zen-browser/zen" ] ; then
export PATH="$HOME/.zen-browser/zen:$PATH"
fi
if [ -d "$HOME/.pulumi/bin" ] ; then
export PATH="$HOME/.pulumi/bin:$PATH"
fi
if [ -d "/home/linuxbrew/.linuxbrew/share" ] ; then
export XDG_DATA_DIRS=/home/linuxbrew/.linuxbrew/share:$XDG_DATA_DIRS
fi
if [ -d "$HOME/.local/bin" ] ; then
export PATH="$HOME/.local/bin:$PATH"
export CNI_PATH=~/.local/libexec/cni
fi
if [ -d "$HOME/.local/libexec" ] ; then
export CNI_PATH=~/.local/libexec/cni
fi
export PATH="$HOME/.local/nerdctl/extras/rootless:$PATH"
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
export RIPGREP_CONFIG_PATH="$HOME/.ripgreprc"