]> err.no Git - dotfiles/commitdiff
gah, handle this better.
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Tue, 6 Jan 2004 05:15:12 +0000 (05:15 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Tue, 6 Jan 2004 05:15:12 +0000 (05:15 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@266 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index 7131a8253f013745fff3498db92b64767f16558d..28e79af9cb5dd4ba3fee1d69fd81417b0ca0ed59 100644 (file)
@@ -26,7 +26,9 @@ blog () {
     else
         SUBJ="blank_subject"
     fi
-    FILE=$HOME/blog/$CAT/$(date +"%Y-%m-%d-%H-%M")_$SUBJ.txt
+    DIR=$HOME/blog/$CAT/
+    FILE=$(date +"%Y-%m-%d-%H-%M")_$SUBJ.txt
+    cd $DIR
     $EDITOR $FILE
     cvs add $FILE
     cvs ci -m"Initial commit" $FILE