tednaleid / shared zshrc

A set of shared zshrc files that can be used on multiple boxes.

Clone this repository (size: 49.3 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/tednaleid/shared-zshrc/

Changed (Δ49 bytes):

raw changeset »

.hgignore (1 lines added, 0 lines removed)

zshrc_general (10 lines added, 3 lines removed)

Up to file-list .hgignore:

1
1
syntax: glob
2
2
3
*
3
4
*.local
4
5
.DS_Store

Up to file-list zshrc_general:

@@ -10,7 +10,7 @@ export CLICOLOR="xterm-color"
10
10
11
11
export USER_LIB=/Users/$USER/Documents/workspace/lib
12
12
13
export CLASSPATH=$USER_LIB/tagsoup-1.1.3.jar:$USER_LIB/commons-lang-2.1.jar:$USER_LIB/jsch-0.1.41.jar:$USER_LIB/ant-jsch.jar:$USER_LIB/mysql-connector-java-5.1.6-bin.jar:$USER_LIB/joda-time-1.5.2.jar:$USER_LIB/gparallelizer-0.8.4.jar
13
export CLASSPATH=$USER_LIB/tagsoup-1.1.3.jar:$USER_LIB/commons-lang-2.1.jar
14
14
 
15
15
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
16
16
@@ -19,6 +19,7 @@ export SCALA_HOME=/usr/local/scala
19
19
export SVN_EDITOR='/usr/bin/mate -w'
20
20
21
21
export ANT_OPTS="-Xmx512m"
22
export JAVA_OPTS="-Xmx512m"
22
23
23
24
# for X11 forwarding, (need to have X11.app running (in applications/utilities after install))
24
25
export DISPLAY="localhost:0.0"
@@ -187,6 +188,11 @@ vcst() {
187
188
alias svnst='vcst svn'
188
189
alias hgst='vcst hg'
189
190
191
alias hgdr=hgdiffrevs
192
193
hgdiffrevs() {
194
	diff <(hg slog --rev $1:0 --follow) <(hg slog --rev $2:0 --follow)
195
}
190
196
191
197
alias svnaddall='svn add $(svnst)'
192
198
alias svnremoveall='svn remove $(svnst !)'
@@ -296,8 +302,9 @@ alias gel='groovy -p -e'
296
302
297
303
298
304
alias g111='switchGrails "groovy-1.6.3" "grails-1.1.1"'
299
alias g12m2='switchGrails "groovy-1.6.4" "grails-1.2-M2"'
300
alias g12m3='switchGrails "groovy-1.6.5" "grails-1.2-M3"'
305
alias g12m4='switchGrails "groovy-1.6.5" "grails-1.2-M4"'
306
alias g12rc1='switchGrails "groovy-1.6.7" "grails-1.2.0.RC1"'
307
alias gsnapshot='switchGrails "groovy-1.6.5" "grails-SNAPSHOT"'
301
308
302
309
function switchGrails() {
303
310
	echo "Switching to groovy version: $1"