diff options
Diffstat (limited to 'local/bin/log')
-rwxr-xr-x | local/bin/log | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/local/bin/log b/local/bin/log index f46893c..50ddae5 100755 --- a/local/bin/log +++ b/local/bin/log @@ -2,7 +2,7 @@ JRNL="$STITCH_DIRECTORY/$(date +'%y-%m-%d.%H:%M.%S').org" echo '* :journal:' > /tmp/capture -kak /tmp/capture +1:3 -e "execute-keys i" +$EDITOR /tmp/capture if grep -q '^\*\s*:journal:' /tmp/capture then echo "Empty capture; ignoring" |