From: Mark Szymanski Date: Tue, 2 Nov 2010 01:49:07 +0000 (-0500) Subject: Got rid of old "newpost" alias to make way for the "newpost" function. X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=ea84e4b7a6ed84ad718ba43aeabf16e5264953f7;p=common%2Fbash_it.git Got rid of old "newpost" alias to make way for the "newpost" function. --- diff --git a/aliases/jekyll.aliases.bash b/aliases/jekyll.aliases.bash index 4e0d740..c447894 100644 --- a/aliases/jekyll.aliases.bash +++ b/aliases/jekyll.aliases.bash @@ -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) -if [ $EDITOR = "vim" ] -then - alias newpost="cd $JEKYLL_LOCAL_ROOT/_posts && $EDITOR ." -else - alias newpost="cd $JEKYLL_LOCAL_ROOT" -fi +# if [ $editor = "vim" ] +# then +# alias newpost="cd $jekyll_local_root/_posts && $editor ." +# else +# alias newpost="cd $jekyll_local_root" +# fi # Build and locally serve the site