From: Mark Szymanski Date: Sun, 2 Jan 2011 00:07:49 +0000 (-0600) Subject: Removed old code and added better indentation X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=2c988b85bd400bb3f3142c0ea406180ed035f984;p=common%2Fbash_it.git Removed old code and added better indentation --- diff --git a/aliases/jekyll.aliases.bash b/aliases/jekyll.aliases.bash index 11922d6..e52c035 100644 --- a/aliases/jekyll.aliases.bash +++ b/aliases/jekyll.aliases.bash @@ -1,19 +1,12 @@ # Open the root of your site in your vim or builtin cd to it if [[ $EDITOR = "vim" ]] -then alias newentry="builtin cd $JEKYLL_LOCAL_ROOT && $EDITOR ." -else alias newentry="builtin cd $JEKYLL_LOCAL_ROOT" +then + alias newentry="builtin cd $JEKYLL_LOCAL_ROOT && $EDITOR ." +else + alias newentry="builtin cd $JEKYLL_LOCAL_ROOT" 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="builtin cd $jekyll_local_root/_posts && $editor ." -# else -# alias newpost="builtin cd $jekyll_local_root" -# fi - # Build and locally serve the site alias testsite="builtin cd $JEKYLL_LOCAL_ROOT && jekyll --server --auto"