#!/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" }