#!/bin/sh
|
|
|
|
# Return a path for a new vimwiki log entry.
|
|
|
|
# Unfortunately has a side effect, which it probably shouldn't for a
|
|
# `fragment-` script.
|
|
|
|
mkdir -p "$HOME/notes/vimwiki/log/$(date '+%Y/%m')"
|
|
printf '%s%s' "$HOME" "$(date '+/notes/vimwiki/log/%Y/%m/%d-%H%M-%S.wiki')"
|