-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshenv
49 lines (39 loc) · 1 KB
/
zshenv
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
export LC_ALL='en_US.UTF-8'
export LANG='en_US.UTF-8'
export LC_TYPE=C
export ZDOTDIR=~/dotfiles
export HISTFILE=~/.zhistory
export HISTSIZE=1000
export SAVEHIST=1000
export HOSTNAME=`hostname`
export VIRTUAL_ENV_DISABLE_PROMPT=1
export _LOADED=$SHLVL
if [[ `uname` == 'Darwin' ]]; then
export TMPDIR=${TMPDIR:=$(getconf DARWIN_USER_TEMP_DIR)}
fi
source "$ZDOTDIR/.zprezto/runcoms/zshenv"
paths=(
"/usr/local/MacGPG2/bin"
"/opt/local/bin"
"/opt/local/sbin"
#"/opt/local/libexec/gnubin"
"$HOME/bin"
"$HOME/.rvm/bin"
"/opt/local/Library/Frameworks/Python.framework/Versions/Current/bin"
)
for p in "${paths[@]}"; do
[ -d "$p" ] && path=($p $path)
done
unset paths
if whence go >/dev/null; then
export GOPATH=$(go env GOPATH)
path=($GOPATH $path)
fi
eval $(perl -V:sitebin)
[ -n $sitebin ] && path=($sitebin $path)
unset sitebin
export EDITOR=vim
export VISUAL=vim
if [[ -n $VIRTUAL_ENV && -e "${VIRTUAL_ENV}/bin/activate" ]]; then
source "${VIRTUAL_ENV}/bin/activate"
fi