Update omarchy-reinstall-git to make shallow clone

The whole git history of the omarchy repository is not required to, for example, run omarchy-reinstall.
If needed, additional history can be fetched manually
This commit is contained in:
Alex Rod
2026-03-14 16:30:23 +01:00
committed by GitHub
parent dc2380026e
commit 609345f22f
+1 -1
View File
@@ -3,6 +3,6 @@ set -e
# Reinstall the Omarchy configuration directory from the git source.
git clone "https://github.com/basecamp/omarchy.git" ~/.local/share/omarchy-new >/dev/null
git clone --depth=1 "https://github.com/basecamp/omarchy.git" ~/.local/share/omarchy-new >/dev/null
mv $OMARCHY_PATH ~/.local/share/omarchy-old
mv ~/.local/share/omarchy-new $OMARCHY_PATH