nnote/dnote

12 lines
206 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
2024-08-29 19:24:17 +00:00
if [ -f "$(which nnote)" ]; then
NNOTE="$(which nnote)"
else
NOTEBIN="$( dirname -- "$( readlink -f -- "$0"; )"; )"
2024-08-29 19:24:17 +00:00
NNOTE="$NOTEBIN/nnote"
fi
2024-08-29 19:24:17 +00:00
$NNOTE daily "$*"