From b61b58ce2c1371d6f904f108fa7feed3abfbe5c7 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 8 Apr 2026 13:18:14 +0900 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- bin/dots | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 bin/dots (limited to 'bin/dots') diff --git a/bin/dots b/bin/dots new file mode 100755 index 0000000..cee0d73 --- /dev/null +++ b/bin/dots @@ -0,0 +1,28 @@ +#!/bin/sh +set -eu +[ -n "${DEBUG:-}" ] && set -x +case "${1:-status}" in +git) + [ $# -gt 0 ] && shift + exec /usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME $* + ;; +st | status) + exec $0 git status -sb --untracked-files=no + ;; +add) + shift + exec $0 git add -f $* + ;; +commit | snapshot | record) + shift + $0 git commit --all --trailer=Automated-commit-by:dots --trailer=signoff --gpg-sign --message=* $* + echo + $0 git log --stat --format=full -1 + echo + ;; +push) + set -x + $0 git push inazuma || true + $0 git push origin || true + ;; +esac -- cgit 1.4.1