nnote/ynotes

12 lines
213 B
Bash
Executable File

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