diff --git a/setup.sh b/setup.sh index 8a52bef..37b4385 100755 --- a/setup.sh +++ b/setup.sh @@ -52,7 +52,7 @@ OPTIONS_VALUES=( ) OPTIONS_LABELS=("zsh + oh-my-zsh" "Neovim (Requires asdf)" "asdf" "Direnv" "NodeJS" "Golang" "Python" "Deno" "Hugo" "Rust") -for i in "${(@i)OPTIONS_VALUES}"; do +for i in "${!OPTIONS_VALUES[@]"; do OPTIONS_STRING+="${OPTIONS_VALUES[$i]} (${OPTIONS_LABELS[$i]});" done