exo-notes/milestone

14 lines
203 B
Plaintext
Raw Normal View History

2022-02-24 07:35:27 +00:00
#!/bin/sh
set -eux
MILESTONE_POST="content/pages/milestones/m${1}.md"
if [ ! -e "${MILESTONE_POST}" ]
then
echo "Milestone not found."
exit 1
fi
EDITOR="${EDITOR:-gvim}"
$EDITOR "${MILESTONE_POST}"