Fix jekyll oh-my-zsh plugin.

This commit is contained in:
David Tomaschik
2017-08-12 14:23:30 -07:00
parent e68a194066
commit 9c1bbdd1ae

View File

@@ -3,7 +3,7 @@ function _jekyll_locate_dir {
echo ${JEKYLL_DIR}
elif test -f `pwd`/_config.yml ; then
pwd
elif test -f ${HOME}/Projects/blog ; then
elif test -f ${HOME}/Projects/blog/_config.yml ; then
echo ${HOME}/Projects/blog
else
echo "Jekyll instance not found!" >&2