diff --git a/dotfiles/zprezto_custom/jekyll/init.zsh b/dotfiles/zprezto_custom/jekyll/init.zsh index 2c3fb34..9e3425a 100644 --- a/dotfiles/zprezto_custom/jekyll/init.zsh +++ b/dotfiles/zprezto_custom/jekyll/init.zsh @@ -90,6 +90,7 @@ function jekyll { echo " post Create a new post to publish immediately." echo " publish Publish a draft post by name." echo " edit Edit a post." + echo " dev Run local server with drafts and incremental." ;; draft) if [ -z "${SLUG}" ] ; then @@ -139,6 +140,9 @@ function jekyll { fi ${EDITOR} "${FILENAME}" ;; + dev) + command jekyll serve -D -I "$@" + ;; *) command jekyll "$@" ;;