Got rid of old "newpost" alias to make way for the "newpost" function.

pull/18/head^2
Mark Szymanski 2010-11-01 20:49:07 -05:00
parent 61fcd21162
commit ea84e4b7a6
1 changed files with 6 additions and 6 deletions

View File

@ -9,12 +9,12 @@ fi
# Open the _posts/ directory for making a new blog post (seperate from above alias because not everyone uses jekyll for a blog) # Open the _posts/ directory for making a new blog post (seperate from above alias because not everyone uses jekyll for a blog)
if [ $EDITOR = "vim" ] # if [ $editor = "vim" ]
then # then
alias newpost="cd $JEKYLL_LOCAL_ROOT/_posts && $EDITOR ." # alias newpost="cd $jekyll_local_root/_posts && $editor ."
else # else
alias newpost="cd $JEKYLL_LOCAL_ROOT" # alias newpost="cd $jekyll_local_root"
fi # fi
# Build and locally serve the site # Build and locally serve the site