This commit is contained in:
Greg 2026-02-23 22:26:37 +02:00
parent 553cf81d6c
commit c41d70bd6e

View file

@ -10,6 +10,7 @@ funcsave cfg
cfg add ~/.config/kitty
cfg commit -m "add kitty config"
cfg remote add $REMOTE
cfg push
@ -18,7 +19,7 @@ cfg push
alias cfg='/usr/bin/git --git-dir=$HOME/.cfgstore/ --work-tree=$HOME'
funcsave cfg
git clone --bare git@github.com:fotonmoton/.dotfiles.git $HOME/.cfgstore
echo ".cfgstore" >> .gitignore
echo .cfgstore >> .gitignore
cfg config --local status.showUntrackedFiles no
cfg checkout
@ -26,5 +27,5 @@ cfg checkout
# Conflict resolution
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
cfg checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}