-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenv
37 lines (27 loc) · 850 Bytes
/
env
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
################################################
# Env Variables configurations #
################################################
# Save
platform=$(uname)
export EDITOR='vim'
export VISUAL='vim'
export PAGER='less'
if [[ $platform == 'Darwin' ]]; then
export BROWSER='open'
fi
if [[ -z "$LANG" ]]; then
export LANG='en_US.UTF-8'
fi
################################################
# Path configurations #
################################################
export GOPATH="$HOME/.go"
export PATH="$PATH:$GOPATH/bin"
export PATH="$PATH:$HOME/.dotfiles/bin"
export PATH="$PATH:."
if [[ $platform == 'Darwin' ]]; then
export HOMEBREW_CASK_OPTS="--appdir=/Application"
export PATH="$HOME/anaconda2/bin:$PATH"
fi
export VIRTUAL_ENV_DISABLE_PROMPT=1
export RIPGREP_CONFIG_PATH="$HOME/.ripgreprc"