-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
65 lines (47 loc) · 1.57 KB
/
.zshrc
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
# source $(brew --prefix)/share/antigen/antigen.zsh
source /opt/homebrew/share/antigen/antigen.zsh
antigen use oh-my-zsh
# Bundles
antigen bundle git
antigen bundle gem
antigen bundle osx
antigen bundle sublime-merge
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle mafredri/zsh-async@main
antigen bundle sindresorhus/pure@main
# Tell antigen that we're done
antigen apply
# Alias
alias config='/opt/homebrew/bin/git --git-dir=$HOME/.cfg --work-tree=$HOME'
# Load z
. `brew --prefix`/etc/profile.d/z.sh
# Load yarn
# export PATH="$PATH:`yarn global bin`"
# export PATH="/usr/local/sbin:$PATH"
# Load fastlane
export PATH="$HOME/.fastlane/bin:$PATH"
# Fix locale configuration
export LC_ALL="en_US.UTF-8"
# Set up $GOPATH
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
# Setup ANDROID_HOME env variable
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
# for .gradlew to work
export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jbr/Contents/Home
# Setup Flutter SDK
export PATH="$PATH:$HOME/flutter/bin"
# alias
alias mongodb='mongod --config /usr/local/etc/mongod.conf'
export PATH="/usr/local/sbin:$PATH"
# silence ruby 2.7.* warnings
export RUBYOPT='-W:no-deprecated -W:no-experimental'
# setup asdf
. /opt/homebrew/opt/asdf/libexec/asdf.sh
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/local/bin/terraform terraform