Jot down notes in Markdown. Inspired by sts10/jot.
Requires Bash >= 4 (for globstar).
Add the jot script to your $PATH or create a function similar to:
jot() {
/path/to/jot "${@}"
}jot defaults to writing to $HOME/Notes. You can customize this by setting
$JOT_DIR to something else (e.g. export JOT_DIR="$HOME/Dropbox/Notes").
You'll also want to make sure $EDITOR is set to your preferred editor
(e.g. export EDITOR='vim').
Run jot <name> to start writing. You can list notes with jot --list and show
the usage info with jot --help:
jot [<arguments>]
Options:
-h --help Show this.
-l --list List notes.
<name> Create a note named <name>.md.
If no <name>, the default is YYYY/MM/DD.md.
You can also use slashes e.g. foo/bar to create foo/bar.md.
- jt - Creates timestamped notes (simplified version of jot)
- jrnl - Frictionless journaling from the CLI
MIT © Paul Esch-Laurent.