nnote/dnote

12 lines
206 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env bash
set -euo pipefail
if [ -f "$(which nnote)" ]; then
NNOTE="$(which nnote)"
else
NOTEBIN="$( dirname -- "$( readlink -f -- "$0"; )"; )"
NNOTE="$NOTEBIN/nnote"
fi
$NNOTE daily "$*"