-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_zshenv
74 lines (56 loc) · 2.15 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
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
# `.zshenv' is sourced on all invocations of the shell, unless the -f
# option is set. It should contain commands to set the command search
# path, plus other important environment variables. `.zshenv' should not
# contain commands that produce output or assume the shell is attached
# to a tty.
# Assign limits to children
unlimit
#limit stack 8192
#limit core 0
# limit per-process memory consumption to 128 Mbytes
#limit datasize 128m
# Assign previous limits to the shell itself
limit -s
umask 022
path=( /bin /usr/bin /sbin /usr/sbin /usr/local/sbin /usr/local/share/bin $path )
# enable remote ssh X11 forwarding
if [ `uname -o` = "Cygwin" ]; then
export DISPLAY=localhost:0.0
fi
# lang setup
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8"
export http_proxy=http://127.0.0.1:1080
export no_proxy=192.168.99.100
export ARCH=$CPUTYPE
export ZDOTDIR=~/.shell
if [ `uname -o` != "Cygwin" ]; then
export JAVA_HOME=/usr/java/jdk1.7.0_45
else
export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.7.0_45"
fi
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export ANDROID_JAVA_HOME=$JAVA_HOME
export TERM=xterm
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'
#path is managed in .shell/.zshrc
#export RUST_SRC_PATH=~/project/rust/rust/src
export RUSTUP_DIST_SERVER=http://mirrors.ustc.edu.cn/rust-static
export RUSTUP_UPDATE_ROOT=http://mirrors.ustc.edu.cn/rust-static/rustup
export LD_LIBRARY_PATH=~/lib:~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib:$LD_LIBRARY_PATH
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="C:\\\\Users\\huang\\.docker\\machine\\machines\\default"
export DOCKER_MACHINE_NAME="default"
export COMPOSE_CONVERT_WINDOWS_PATHS="true"
export HEXO_ALGOLIA_INDEXING_KEY=09dbb9c9941acf3d53ba46e7d38e7fce
export CARGO_HOME="C:\\\\Users\huang\\.cargo"
CYGWIN="${CYGWIN} nodosfilewarning winsymlinks:native"; export CYGWIN