forked from kvesteri/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.exports
81 lines (62 loc) · 2.13 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
# Python scripts
export PATH="/usr/local/share/python:$PATH"
# npm-installed binaries
export PATH="/usr/local/share/npm/bin:$PATH"
# Prefer US English and use UTF-8
export LC_ALL="en_US.UTF-8"
export LANG="en_US"
# Make Sublime Text the default text editor
export EDITOR="subl -w"
# Use syntax highlight with less. Requires source-highlight.
#
# Install on Mac OS X via Homebrew:
#
# $ brew install source-highlight
#
# On Ubuntu:
#
# $ sudo apt-get install source-highlight
#
if which src-hilite-lesspipe.sh >/dev/null; then
export LESSOPEN="| src-hilite-lesspipe.sh %s"
export LESS="-R"
fi
# Don't clear the screen after quitting a manual page
export MANPAGER="less -X"
# Larger bash history (default is 500)
export HISTFILESIZE=10000
export HISTSIZE=$HISTFILESIZE
# Avoid duplicates in bash history
export HISTCONTROL=ignoredups:erasedups
# After each command, save and reload history
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
# Make some commands not show up in history
export HISTIGNORE="ls:ls *:cd:exit:* --help"
# Enable colors in grep
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='1;32'
# Python-related stuff
export PIP_USE_MIRRORS=true
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUAL_ENV_DISABLE_PROMPT=1
export VIRTUALENVWRAPPER_SCRIPT=/usr/local/share/python/virtualenvwrapper.sh
export VENV_DIR=/Users/eero/.venvs
# Postgres.app command-line binaries
export PATH="/Applications/Postgres.app/Contents/MacOS/bin:$PATH"
export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH";
# Setup terminal colors. See https://stackoverflow.com/a/5485184 and
# https://geoff.greer.fm/lscolors/.
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
# This is needed to make rubber work.
# export PYTHONPATH=/usr/local/lib/python2.7/site-packages/:${PYTHONPATH}
# QuickBI variables
source ~/quickbi/.exports
# git-open
export PATH=$PATH:/Users/eero/dev/misc/git-open/
# cloud_sql_proxy
export PATH=$PATH:/Users/eero/dev/misc/cloud_sql_proxy/
# pipx
export PATH=$PATH:/Users/eero/.local/bin/