From 25da9879e37e4be50eda07d85a97d92e5928e015 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Wed, 14 Feb 2024 07:59:17 +0100 Subject: [PATCH] Update 2024-02-14 07:59 OpenBSD/amd64-x13 --- .bin/dotfiles-autoupdate | 5 +++++ .bin/dotfiles-init | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100755 .bin/dotfiles-autoupdate create mode 100755 .bin/dotfiles-init diff --git a/.bin/dotfiles-autoupdate b/.bin/dotfiles-autoupdate new file mode 100755 index 0000000..c037ef2 --- /dev/null +++ b/.bin/dotfiles-autoupdate @@ -0,0 +1,5 @@ +#!/bin/sh -ex +MSG="$(date +"%Y-%m-%d %H:%M") $(uname -s)/$(uname -m)-$(hostname -s)" +conf add -u +conf commit -m "Update $MSG" +conf push diff --git a/.bin/dotfiles-init b/.bin/dotfiles-init new file mode 100755 index 0000000..fd52c51 --- /dev/null +++ b/.bin/dotfiles-init @@ -0,0 +1,9 @@ +#!/bin/sh -e + +git --no-replace-objects clone --bare --depth 1 \ + _gitea@git.uugrn.org:sdk/dotfiles.git \ + $HOME/.cfg + +dotconf config --local status.showUntrackedFiles no +dotconf checkout -f +