diff --git a/deploy.sh b/deploy.sh index 1a1f236..5543ee2 100644 --- a/deploy.sh +++ b/deploy.sh @@ -6,10 +6,8 @@ nodejs_version="v24.11.0" current_dir="$(pwd)" -# cp ./core-setup/arch-surface.conf /boot/loader/entries/arch-surface.conf -# cp ./core-setup/cpupower /etc/default/cpupower - -cd core-setup && sh setup +cd core-setup +sh setup cd $current_dir # Ensure fish/fisher setup + install plugins @@ -17,17 +15,11 @@ if fish -c "which fisher" >/dev/null 2>&1; then echo "fisher is installed" else echo "fisher not found. installing." - # curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher" fi -tree . for dir in $source_dir/*/; do - echo ">>>"$dir - echo "Raw dir value: '$dir'" - ls -ld "$dir" - if [ -d "$dir" ]; then # Check if it's a directory - echo "asdkgjnsgjsdkgan" + if [ -d "$dir" ]; then dir_name=$(basename "$dir") source=$source_dir"/"$dir_name target=$target_config_dir"/"$dir_name