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 +