mirror of
https://github.com/jarun/nnn.git
synced 2024-11-10 21:33:12 +00:00
16 lines
300 B
Plaintext
16 lines
300 B
Plaintext
|
#!/usr/bin/env sh
|
||
|
|
||
|
# Description: Open a quick notes file or directory in $EDITOR
|
||
|
#
|
||
|
# Details: Set the variable NOTE to the path to your quick notes file
|
||
|
#
|
||
|
# Shell: POSIX compliant
|
||
|
# Author: Arun Prakash Jana
|
||
|
|
||
|
NOTE=
|
||
|
# NOTE=~/Dropbox/Notes/synced_note
|
||
|
|
||
|
if [ ! -z "$NOTE" ]; then
|
||
|
$EDITOR "$NOTE"
|
||
|
fi
|