fixing an argument error

pull/21/head
Robert R Evans 2010-11-02 13:45:21 -07:00
parent 2d9da1f156
commit 044a116fcd
1 changed files with 3 additions and 5 deletions

View File

@ -1,10 +1,8 @@
# Open the root of your site in your vim or cd to it
if [ $EDITOR = "vim" ]
then
alias newentry="cd $JEKYLL_LOCAL_ROOT && $EDITOR ."
else
alias newentry="cd $JEKYLL_LOCAL_ROOT"
if [[ $EDITOR = "vim" ]]
then alias newentry="cd $JEKYLL_LOCAL_ROOT && $EDITOR ."
else alias newentry="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)