summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 34f5cd5..a57bb12 100644
--- a/zshrc
+++ b/zshrc
@@ -126,3 +126,13 @@ vm() {
echo "sid"
fi
}
+
+up() {
+ if [ -e ./.svn ]; then
+ svn up
+ elif [ -e ./.git ]; then
+ git pull
+ else
+ echo Kein Repositiory!
+ fi
+}