-
Notifications
You must be signed in to change notification settings - Fork 0
/
exports
49 lines (38 loc) · 1.37 KB
/
exports
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
# enable colored output from ls, etc
export CLICOLOR=1
export LSCOLORS="Exfxcxdxbxegedabagacad"
export GPG_TTY=$(tty)
export COLORTERM=truecolor
# load
export PATH="$HOME/.bin:/usr/local/bin:node_modules/.bin:/usr/local/sbin:$PATH"
export CDPATH=".:$HOME/dev/"
export VISUAL="nvim"
export GIT_EDITOR="nvim"
export EDITOR="$VISUAL"
alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
# GNU
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
# GO
export GOPATH="$HOME/dev/go"
export PATH="$GOPATH/bin:$PATH"
# Python
export LDFLAGS="-L/usr/local/opt/zlib/lib -L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/zlib/include -I/usr/local/opt/sqlite/include"
# Postgres
export PATH="/usr/local/opt/postgresql@11/bin:$PATH"
# Protobuf 3.6
# https://github.com/protocolbuffers/protobuf/issues/6209
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
# prompt
export PS1="\[$Green\]\$(vcprompt -f '[%b%u%m]')\[$Color_Off\][\w]❥ "
if [ $TERM == "xterm-kitty" ]; then
export TERMINFO="/Applications/kitty.app/Contents/Resources/kitty/terminfo/"
fi
if [[ -n $SSH_CLIENT ]]; then
export PS1="\[$Green\]\$(vcprompt -f '[%b%u%m]')\[$Color_Off\][\w]@\h❥ "
fi
export PS0='\033]0;\w\007'
# Include custom aliases
[[ -f ~/.exports.local ]] && source ~/.exports.local
export PATH="/usr/local/opt/openjdk/bin:$PATH"
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket