summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorShawn M Moore <sartak@gmail.com>2007-09-09 13:53:31 -0500
committerShawn M Moore <sartak@gmail.com>2007-09-09 13:53:31 -0500
commit6a699af3606b3ab5a50675448ec0a1c03633cae1 (patch)
tree047f97831bc24d94841b051f57281a6e7847cce3 /zshrc
parent07187a4e384d1e8ed757f00a46f641c67df89276 (diff)
downloadconf-6a699af3606b3ab5a50675448ec0a1c03633cae1.tar.gz
conf-6a699af3606b3ab5a50675448ec0a1c03633cae1.zip
Move work shortcuts (RT stuff) into their own section
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc17
1 files changed, 10 insertions, 7 deletions
diff --git a/zshrc b/zshrc
index 54bd027..61cbe2a 100644
--- a/zshrc
+++ b/zshrc
@@ -82,14 +82,8 @@ alias home='ssh $HOMEIP'
# shortcuts {{{
alias starcraft="cd /home/sartak/.wine/drive_c/Program\ Files/Starcraft && sudo wine StarCraft.exe"
-alias rtp='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo prove -l -I/opt/rt3/local/lib'
-alias rtpv='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo perl -Ilib -I/opt/rt3/local/lib'
-alias grtp='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo g prove -l -I/opt/rt3/local/lib'
-alias grmt='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo g make test'
alias i='sudo apt-get install'
alias ci='sudo cpan -i'
-alias unrt="ps aux -ww | grep standalone | sudo perl -lane 'system(qq{kill \$F[1]})'"
-alias rert="unrt && sudo make start-httpd"
# }}}
# darcs shortcuts {{{
@@ -104,7 +98,16 @@ alias db="darcs revert"
alias dqm="darcs query manifest"
# }}}
-# global shortcuts {{{
+# work shortcuts {{{
+alias rtp='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo prove -l -I/opt/rt3/local/lib'
+alias rtpv='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo perl -Ilib -I/opt/rt3/local/lib'
+alias grtp='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo g prove -l -I/opt/rt3/local/lib'
+alias grmt='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo g make test'
+alias unrt="ps aux -ww | grep standalone | sudo perl -lane 'system(qq{kill \$F[1]})'"
+alias rert="unrt && sudo make start-httpd"
+# }}}
+
+# global shortcuts (don't need to be in the command position) {{{
alias -g L='|less'
alias -g G='|egrep'
alias -g H='|head'