12 lines
213 B
Plaintext
12 lines
213 B
Plaintext
|
#!/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 global "$*"
|
||
|
|