commit 087e716ccbc204699c4e32748c92d4bf6eaa0018
parent 8801b60b1cd3731856624462e36d1cdf3638ac18
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 26 Mar 2019 15:25:07 +0100
Update dotfile handling in update script
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/bin/uu b/bin/uu
@@ -46,8 +46,7 @@ else
 fi
 
 announce "Updating dotfiles"
-cd ~/code/dotfiles && \
-    git pull; cd -
+git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME pull
 
 if command -v conda >/dev/null 2>&1; then
     announce "Upgrading conda packages"