diff --git a/setup.sh b/setup.sh index 575a937..751f2ab 100644 --- a/setup.sh +++ b/setup.sh @@ -25,10 +25,8 @@ if [ -d "$DOTFILES_DIR/scripts" ]; then # Look for numbered scripts and run them in order script_count=0 - for script in "$DOTFILES_DIR/scripts"/[0-9][0-9]-*.sh; do + for script in "$DOTFILES_DIR"/scripts/[0-9][0-9]-*.sh; do if [ -f "$script" ]; then - # Make executable and run - chmod +x "$script" 2>/dev/null || true script_name=$(basename "$script") log_info "Running $script_name..."