nnote/dnotes

12 lines
212 B
Plaintext
Raw Permalink Normal View History

2024-08-31 23:37:08 +00:00
#!/usr/bin/env bash
set -euo pipefail
if [ -f "$(which nnotes)" ]; then
NNOTES="$(which nnotes)"
else
NOTEBIN="$( dirname -- "$( readlink -f -- "$0"; )"; )"
NNOTES="$NOTEBIN/nnotes"
fi
$NNOTES daily "$*"