#!/usr/bin/env sh task_data="$(task _get rc.data.location)" [ "$task_data" ] || die "Taskwarrior should have a location set" cd "$task_data" || die "(BUG?): Your data.location path is not accessable" [ -d ./.git/ ] || git init git add . git commit --message="chore: Update" --no-gpg-sign # vim: ft=sh