-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.shenv
51 lines (40 loc) · 1.2 KB
/
.shenv
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
# .shenv - Alan Christopher Thomas
# http://alanct.com/
# Keep 1000 lines in history
HISTSIZE=1000
HISTFILESIZE=1000
# Remove default Ctrl-S behavior
if [ -t 0 ]; then
stty -ixon -ixoff
fi
# Use full color
export TERM=xterm-256color
# Use vim as default editor
export EDITOR=vim
export VISUAL=vim
# Add Heroku toolkit to path
export PATH="/usr/local/heroku/bin:$PATH"
# Use local binaries
export PATH=~/.local/bin:$PATH
# Store Go code in home directory
export GOPATH=$HOME/.gocode
# Predictable SSH authentication socket location
# From http://unix.stackexchange.com/a/76256
SOCK="/tmp/ssh-agent-$USER-screen"
if test $SSH_AUTH_SOCK && [ $SSH_AUTH_SOCK != $SOCK ]
then
rm -f /tmp/ssh-agent-$USER-screen
ln -sf $SSH_AUTH_SOCK $SOCK
export SSH_AUTH_SOCK=$SOCK
fi
# Set up virtualenv
if [ -f "$HOME/.venvburrito/startup.sh" ]; then
. "$HOME/.venvburrito/startup.sh"
fi
# Virtualenv settings
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
export VIRTUAL_ENV_DISABLE_PROMPT=1
export PIP_VIRTUALENV_BASE=$WORKON_HOME
export PIP_RESPECT_VIRTUALENV=true
# Import smartcd config
[ -r "$HOME/.smartcd_config" ] && ( [ -n $BASH_VERSION ] || [ -n $ZSH_VERSION ] ) && source ~/.smartcd_config