nj update
This commit is contained in:
4
nj
4
nj
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user