mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
16 lines
300 B
Bash
Executable file
16 lines
300 B
Bash
Executable file
#!/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
|