Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
277 B

#!/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')"