diff options
-rwxr-xr-x | batnote | 2 | ||||
-rwxr-xr-x | lem | 11 |
2 files changed, 12 insertions, 1 deletions
@@ -24,6 +24,6 @@ fi if [[ -x $BAT ]]; then CMD=$BAT fi -$CMD "$NOTES/$(ls $NOTES|$FZF_BIN)" +$CMD "$(find $NOTES|$FZF_BIN)" @@ -0,0 +1,11 @@ +#!/bin/bash + +NOTES=/home/$USER/Notes +MOD_NOTES=$NOTES/mod +VIM=/usr/bin/vim + +STAMP="$(date +%G%m%d%H%M%S)" +F_PATH="$MOD_NOTES/$STAMP - $@.md" +echo $F_PATH + +$VIM "$F_PATH" |