Update setup.sh

This commit is contained in:
max_richter 2021-09-12 16:21:27 +02:00 committed by GitHub
parent 92ef625f62
commit d2beb7bdb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,16 +38,6 @@ fi
#Make the selection #Make the selection
echo "-- what do you want to install? --" echo "-- what do you want to install? --"
# 0 - ZSH
# 1 - NVIM
# 2 - DRNV
# 3 - NODE
# 4 - GO
# 5 - ZSH
# 6 - ZSH
# 7 - ZSH
OPTIONS_VALUES=( OPTIONS_VALUES=(
"ZSH" "ZSH"
"NVIM" "NVIM"
@ -62,7 +52,7 @@ OPTIONS_VALUES=(
) )
OPTIONS_LABELS=("zsh + oh-my-zsh" "Neovim (Requires asdf)" "asdf" "Direnv" "NodeJS" "Golang" "Python" "Deno" "Hugo" "Rust") OPTIONS_LABELS=("zsh + oh-my-zsh" "Neovim (Requires asdf)" "asdf" "Direnv" "NodeJS" "Golang" "Python" "Deno" "Hugo" "Rust")
for i in "${!OPTIONS_VALUES[@]}"; do for i in "${(@i)OPTIONS_VALUES}"; do
OPTIONS_STRING+="${OPTIONS_VALUES[$i]} (${OPTIONS_LABELS[$i]});" OPTIONS_STRING+="${OPTIONS_VALUES[$i]} (${OPTIONS_LABELS[$i]});"
done done
@ -84,6 +74,7 @@ INST_RUST=${SELECTED[9]}
if [ $INTERACTIVE = "false" ]; then if [ $INTERACTIVE = "false" ]; then
INST_ZSH=true INST_ZSH=true
INST_ASDF=true
INST_NVIM=true INST_NVIM=true
fi fi