Commit 821acdfc authored by Jamie Tanna's avatar Jamie Tanna

Add script to automate publishing of Jekyll drafts

Closes jvt.me#94.
parent ebe84c30
jekyll_promote() {
set -x
git mv "_drafts/$1" "_posts/$(date -I)-$1"
set +x
}
compdef '_path_files -W $PWD/_drafts' jekyll_promote
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment