forked from yanyingwang/.zsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc.macos
36 lines (30 loc) · 937 Bytes
/
zshrc.macos
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
# for macOS fork
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
if [[ -e "/Applications/Racket v8.0" ]]
then
RACKET_V="v8.0"
elif [[ -e "/Applications/Racket v7.9" ]]
then
RACKET_V="v7.9"
elif [[ -e "/Applications/Racket v7.6" ]]
then
RACKET_V="v7.6"
elif [[ -e "/Applications/Racket v7.8" ]]
then
RACKET_V="v7.8"
fi
#export PATH="$PATH:/Applications/Racket $RACKET_V/bin" # racket
export PATH="/Applications/Racket $RACKET_V/bin:$PATH" # racket
source /Applications/Racket\ $RACKET_V/share/pkgs/shell-completion/racket-completion.zsh
# macos
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES # for macOS fork
# brew install macvim
# brew link --overwirte macvim
alias vim='mvim -v'
# brew install petere/postgresql/[email protected]
# brew link -f [email protected]
# brew install petere/postgresql/postgresql-common
if [[ -e "/usr/local/opt/[email protected]" ]]
then
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
fi