-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
31 lines (24 loc) · 839 Bytes
/
.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
# Configure terminal locale
export LANG=en_US.UTF-8
# Set gpg-agent environment
export GPG_TTY=$(tty)
# Open VS Code in terminal (code)
export PATH="/Applications/Visual Studio Code.app/Contents/Resources/app/bin:$PATH"
# Output highlighting
export CLICOLOR=1
# Set network environment
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890
# Set custom R library to avoid missing libPath after `brew update`
if [ ! -d "/usr/local/share/rlibs/" ]; then
mkdir /usr/local/share/rlibs/
else
if [ -n $R_LIBS ]; then
export R_LIBS=/usr/local/share/rlibs:$R_LIBS
else
export R_LIBS=/usr/local/share/rlibs
fi
fi
# Auto suggestions
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# Syntax highlighting
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh