commit 16844d70e6d2255fd0fb4419c2fc34f03244cb5c (patch)
parent d1ebce19418943fe0b13aa4d90990d95019a9ac1
Author: Alex Karle <alex@alexkarle.com>
Date: Sat, 17 Sep 2022 10:59:16 -0400
acme: Update Note to dump into directory
I found that populating a ton of files named ~/notes/scratch-DATE
made the ~/notes directory hard to traverse.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/acme-scripts/Note b/bin/acme-scripts/Note
@@ -1,5 +1,5 @@
#!/bin/sh
-name=${1:-scratch-$(/usr/bin/date +%F).txt}
+name=${1:-scratch/$(/usr/bin/date +%F).txt}
file=$HOME/notes/$name