From e56d368221ce99018cf490689d308e2a8fd1ddb9 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Sun, 29 Jan 2023 03:36:37 +0000 Subject: [PATCH] fixed config alias --- 3-post-reboot/pull-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3-post-reboot/pull-config.sh b/3-post-reboot/pull-config.sh index 6efdfc0..96df881 100755 --- a/3-post-reboot/pull-config.sh +++ b/3-post-reboot/pull-config.sh @@ -1,5 +1,5 @@ git clone --bare https://gitea.olympuslab.net/afonso/dotfiles /home/afonso/dotfiles -alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' +alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' mkdir -p .config-backup && \ config checkout 2>&1 | grep -E "\s+\." | awk {'print $1'} | \ xargs -I{} mv {} .config-backup/{}