forked from ohmyzsh/ohmyzsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzpath
49 lines (40 loc) · 1.69 KB
/
zpath
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
#!/bin/zsh
#
# This file is used to set the path for zsh.
# the file .zpath-`hostname` is used for host specific path info
#
export PATH=/usr/local/bin:$PATH
export MANPATH=/usr/local/man:`/usr/bin/manpath -q`
export INFOPATH=$INFOPATH:/usr/local/info:/usr/share/info
#export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export TWL_BIN=~/bin
export TWL_DOC=~/Library/Documentation
export TWL_LIB=~/lib
export TWL_MAN=~/man
export TWL_JAVA_LIBS=$TWL_LIB/java
export TWL_PYTHON_LIBS=$TWL_LIB/python
export WORK=~/work
export TOMCAT_HOME=$TWL_JAVA_LIBS/apache-tomcat-5.5.20
export M2_HOME=$TWL_JAVA_LIBS/apache-maven-3.0.3
#export M2_HOME=$TWL_JAVA_LIBS/apache-maven-3.0.2
#export M2_HOME=$TWL_JAVA_LIBS/apache-maven-2.2.0
export HUDSON_HOME=$TWL_JAVA_LIBS/hudson
export SCALA_HOME=~/work/scala/scala-2.8
export ERLANG_MAN=~/work/mac/erlang/otp_src_R13B01/man
#export NODE_PATH=$WORK/js/node.js
export CLOJURESCRIPT_HOME=~/work/clojure/cljs/clojurescript
# Amazon EC2 setup via: http://www.robertsosinski.com/2008/01/26/starting-amazon-ec2-with-mac-os-x/
export EC2_HOME=~/.ec2
#export EC2_PRIVATE_KEY=`ls $EC2_HOME/pk-*.pem`
#export EC2_CERT=`ls $EC2_HOME/cert-*.pem`
export INFOPATH=$INFOPATH:$TWL_DOC/python/info
export MANPATH=$TWL_MAN:$GIT_HOME/man:$ERLANG_MAN:$MANPATH
export FPATH=$TWL_LIB/zsh/func:/usr/local/share/zsh-completions:$FPATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
oszpath=~/.oh-my-zsh/zpath-`uname -s`
[[ -e $oszpath ]] && . $oszpath
export PATH=$GOROOT/bin:$GOPATH/bin:$M2_HOME/bin:$JAVA_HOME/bin:$TWL_BIN/perl:$TWL_BIN/`uname -s`:$TWL_BIN:$PATH
#hostzpath=~/.zpath-`~/bin/hostname`
#[[ -e $hostzpath ]] && . $hostzpath
# unique entries only
typeset -U cdpath fpath infopath manpath path