Got rid of old "newpost" alias to make way for the "newpost" function.
parent
61fcd21162
commit
ea84e4b7a6
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue