dotfiles/.config/shell/functions/log

7 lines
224 B
Text
Raw Normal View History

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