config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 3a5fbd390faf5a7978ee0f23c155c2ffd0d4e35e
parent 20fe3f0e9197bd4c4fcedb03f710d72cd4f098d2
Author: Jacob R. Edwards <n/a>
Date:   Tue, 29 Nov 2022 12:26:47 -0600

Add journal editor script

It simply opens EDITOR on the last journal entry.

Diffstat:
Alocal/bin/bin/jouredit | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/local/bin/bin/jouredit b/local/bin/bin/jouredit @@ -0,0 +1,5 @@ +#!/bin/sh +# Copyright 2022 Jacob R. Edwards +# Edit the last journal entry + +"$EDITOR" "$(jourtail -1 | cut -d ' ' -f1)"