-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zprofile
50 lines (40 loc) · 1.32 KB
/
.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[ -d "$HOME/bin" ] && PATH=$PATH:"$HOME/bin"
[ -d "$HOME/.local/bin" ] && PATH=$PATH:"$HOME/.local/bin"
export EDITOR="vim"
export IS_REMOTE_MACHINE=0
# firefox
export MOZ_DISABLE_RDD_SANDBOX=1
export MOZ_X11_EGL=1
export MOZ_USE_XINPUT2=1
# go
export GOPATH="$HOME/go"
export GOROOT="/usr/local/go"
export PATH=$PATH:"$GOPATH/bin":"$GOROOT/bin"
# ruby
export PATH=$PATH:"§/opt/homebrew/lib/ruby/gems/3.3.0/bin"
# brew
case "$(uname -s)" in
Linux*) [ -d '/home/linuxbrew/.linuxbrew/bin' ] && eval /home/linuxbrew/.linuxbrew/bin/brew shellenv;;
Darwin*) [ -d '/opt/homebrew/bin' ] && export PATH=$PATH:"/opt/homebrew/bin":"/opt/homebrew/sbin";;
esac
export HOMEBREW_NO_ANALYTICS=1
# fzf
export FZF_DEFAULT_OPTS="--extended"
# gcloud
[ -f ~/projects/sdk/path.zsh.inc ] && . ~/projects/sdk/path.zsh.inc
# xvzc/spoofdpi
export PATH=$PATH:~/.spoofdpi/bin
# delta
export DELTA_PAGER="less --tabs=4 -RFX --mouse"
# conda
__conda_setup="$('/opt/homebrew/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]; then
. "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh"
else
export PATH="/opt/homebrew/Caskroom/miniconda/base/bin:$PATH"
fi
fi
unset __conda_setup