[fix] Use recursive --clone for dotfiles

This commit is contained in:
Uttarayan
2023-03-21 12:02:52 +05:30
parent be7c11bad0
commit b39d8689d5

View File

@@ -3,7 +3,7 @@
# ensure_installed:
DOTFILES_REPO="https://github.com/uttarayan21/dotfiles"
INSTALLED="$HOME/.local/share/dotfiles"
git clone "$DOTFILES_REPO" "$INSTALLED"
git clone --recursive "$DOTFILES_REPO" "$INSTALLED"
for file in $(ls -1 $INSTALLED/config); do
# echo "$INSTALLED/config/$(basename file)" $HOME/config/$(basename $file)