zsh: collapse some small .zsh files into misc.zsh for faster loading
author |
Steve Losh <steve@dwaiter.com> |
date |
Thu, 12 Aug 2010 09:30:08 -0400 |
parents |
98268d25b5f4
|
children |
4ffba76f3f94
|
branches/tags |
(none) |
files |
zsh/mercurial.zsh zsh/misc.zsh zsh/subversion.zsh |
Changes
--- a/zsh/mercurial.zsh Thu Aug 12 09:21:06 2010 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-#!/usr/bin/env zsh
-
-function pull_everything() {
- for repo in $( ls -1 ); do
- if [[ -d $repo && -d $repo/.hg ]]; then
- echo "Pulling" $repo
- hg -R $repo pull -u
- echo
- fi
- done
-}
--- a/zsh/misc.zsh Thu Aug 12 09:21:06 2010 -0400
+++ b/zsh/misc.zsh Thu Aug 12 09:30:08 2010 -0400
@@ -44,3 +44,18 @@
</head>
'; markdown $@) | bcat
}
+
+function pull_everything() {
+ for repo in $( ls -1 ); do
+ if [[ -d $repo && -d $repo/.hg ]]; then
+ echo "Pulling" $repo
+ hg -R $repo pull -u
+ echo
+ fi
+ done
+}
+
+# Updated verison of SVN.
+export DYLD_LIBRARY_PATH="/opt/subversion/lib:$DYLD_LIBRARY_PATH"
+export PYTHONPATH="/opt/subversion/lib/svn-python:$PYTHONPATH"
+export PATH="/opt/subversion/bin:$PATH"
--- a/zsh/subversion.zsh Thu Aug 12 09:21:06 2010 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-#!/usr/bin/env zsh
-
-# Accomodate the updated version of Subversion
-export DYLD_LIBRARY_PATH="/opt/subversion/lib:$DYLD_LIBRARY_PATH"
-export PYTHONPATH="/opt/subversion/lib/svn-python:$PYTHONPATH"
-export PATH="/opt/subversion/bin:$PATH"
\ No newline at end of file