From: tfheen Date: Thu, 12 Feb 2004 01:04:44 +0000 (+0000) Subject: push&pop X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4efc064165bc1f93c1332499ba35bd0ac48007fd;p=dotfiles push&pop git-svn-id: file:///svn/tfheen/trunk/dotfiles@360 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/environment b/environment index baef04e..a7d2468 100644 --- a/environment +++ b/environment @@ -11,6 +11,7 @@ if [ `uname -s` = "FreeBSD" ] && alias | grep -q "alias ls"; then fi blog () { + pushd $(pwd) if [ "$HOSTNAME" != "vawad.raw.no" ]; then echo "You are not on vawad!" return 1 @@ -32,6 +33,7 @@ blog () { $EDITOR $FILE svn add $FILE svn ci -m"Initial commit" $FILE + popd } apache2Release()