nj update

This commit is contained in:
ackman678
2019-04-03 19:34:37 -07:00
parent e9611163c4
commit d8bb5eb774

4
nj
View File

@@ -6,7 +6,7 @@ if [ "$1" == "-h" ] ; then
(e.g. if defined in .bashrc) else nano is used as default.
Usage: nj
nj my-title ~/projects/foo ~/bin/nj-ucsc.md
nj my-title ~/projects/foo ~/bin/nj-ucsc.tmpl
The first example above would create new timestamped file in the default
notes directory.
@@ -21,6 +21,8 @@ if [ "$1" == "-h" ] ; then
exit 0
fi
set -e
defTitle=journal
defDir=notes
defApp=nano #nano,vim,nvim,gvim,emacs,atom,subl