-
Notifications
You must be signed in to change notification settings - Fork 0
/
.profile
30 lines (26 loc) · 864 Bytes
/
.profile
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
export EDITOR="vim"
export GOPATH="$HOME/go"
export NVM_DIR="$HOME/.nvm"
export GPG_TTY=$(tty)
[[ -d "$HOME/.cargo/env" ]] &&
##############################################
# PATH
##############################################
PATH="$HOME/bin:$PATH"
PATH="$HOME/go/bin:$PATH"
PATH="$HOME/.cargo/bin:$PATH"
# MacOS
[[ "$(uname -s)" == 'Darwin' ]] && {
# Commands installed via Homebrew
PATH="/usr/local/opt/ruby/bin:$PATH"
PATH="/usr/local/opt/mysql-client/bin:$PATH"
# Use GNU commands as default
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
PATH="/usr/local/opt/binutils/bin:$PATH"
PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
PATH="/usr/local/opt/gawk/libexec/gnubin:$PATH"
PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
PATH="/usr/local/opt/findutils/libexec/gnubin:$PATH"
}
export PATH