diff --git a/.config/shell/functions/log b/.config/shell/functions/log new file mode 100644 index 0000000..e5d990f --- /dev/null +++ b/.config/shell/functions/log @@ -0,0 +1,6 @@ +#!/bin/bash + +# edit the system log located in the docs repo, but also find the docs repo based on what ~/todo points to +log() { + $EDITOR "$(git -C "$(dirname "$(realpath ~/todo)")" rev-parse --show-toplevel)/system-log" +}