if ! test -f weeknotes/$(date +%Y-%V).md; then echo -e "# $(date +%Y-%V)\n" >> weeknotes/$(date +%Y-%V).md fi vi weeknotes/$(date +%Y-%V).md -c "$"