nnote/ynote

12 lines
207 B
Bash
Executable File

#!/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 yearly "$*"