-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshenv
More file actions
22 lines (20 loc) · 677 Bytes
/
zshenv
File metadata and controls
22 lines (20 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export PERL5LIB="$HOME/perl5/lib/perl5:$PERL5LIB"
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
export NDK_ROOT=$ANDROID_NDK
export SDK_ROOT=$ANDROID_HOME
export ANDROID_SDK_ROOT=$ANDROID_HOME
export GEM_HOME="$HOME/.gem/ruby/1.9.1/gems"
typeset -U path
path=($path ~/script $GEM_HOME)
if [[ -n "$DISPLAY" ]]; then
export LANG='zh_CN.UTF-8'
export EDITOR='gvim'
export BROWSER='firefox'
[[ -n "$TMUX" ]] && export TERM=screen-256color
[[ "$TERM" = "xterm-256color" ]] && export EDITOR='vim'
[[ "$TERM" = "rxvt-unicode-256color" ]] && export EDITOR='vim'
else
export LANG='en_US.UTF-8'
export EDITOR='vim'
export BROWSER='w3m'
fi