From ac7dba48b64ce596515f93b05ad92ec1663354a2 Mon Sep 17 00:00:00 2001 From: fsc0131y Date: Sat, 14 Jan 2023 16:08:01 +0100 Subject: [PATCH] [fix] Fix the install script --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 54093134..cac67a75 100755 --- a/install.sh +++ b/install.sh @@ -5,6 +5,7 @@ DOTFILES_REPO="https://github.com/uttarayan21/dotfiles" INSTALLED="$HOME/.local/share/dotfiles" git clone "$DOTFILES_REPO" "$INSTALLED" -for file in "$INSTALLED"; do - ln -s "$file" $HOME/config/$(basename $file) +for file in $(ls -1 $INSTALLED/config); do + # echo "$INSTALLED/config/$(basename file)" $HOME/config/$(basename $file) + ln -s "$INSTALLED/config/$(basename $file)" "$HOME/.config/$(basename $file)" done