aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbatnote2
-rwxr-xr-xlem11
2 files changed, 12 insertions, 1 deletions
diff --git a/batnote b/batnote
index c5375c0..903e3c4 100755
--- a/batnote
+++ b/batnote
@@ -24,6 +24,6 @@ fi
if [[ -x $BAT ]]; then
CMD=$BAT
fi
-$CMD "$NOTES/$(ls $NOTES|$FZF_BIN)"
+$CMD "$(find $NOTES|$FZF_BIN)"
diff --git a/lem b/lem
new file mode 100755
index 0000000..1fb332b
--- /dev/null
+++ b/lem
@@ -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"