testing new syntax.. kinda..
This commit is contained in:
parent
7dbb519902
commit
85e35d9ea0
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@
|
||||||
debian | ubuntu | arch | fedora | alpine | opensuse)
|
debian | ubuntu | arch | fedora | alpine | opensuse)
|
||||||
for pkg in "${pkgArray[@]}"; do
|
for pkg in "${pkgArray[@]}"; do
|
||||||
if ! command_exists $pkg; then
|
if ! command_exists $pkg; then
|
||||||
spin yellow bold "Installing $(pen red $pkg)"
|
spin bold "Installing $pkg"
|
||||||
run --err err pkg-install $pkg && check "$pkg $(pen green installed)!" ||
|
run --err err pkg-install $pkg && check "$pkg $(pen green installed)!" ||
|
||||||
throw "Something went wrong! Could not install $(pen bold red $pkg)" &&
|
throw "Something went wrong! Could not install $(pen bold red $pkg)" &&
|
||||||
throw "${err:-}"
|
throw "${err:-}"
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
else
|
else
|
||||||
# echo_warning "You don't have a neovim config installed. Do you want to clone one now? [Y]es (standard), [m]inimal, [n]o"
|
# echo_warning "You don't have a neovim config installed. Do you want to clone one now? [Y]es (standard), [m]inimal, [n]o"
|
||||||
# read -r askNvim
|
# read -r askNvim
|
||||||
choose askNvim "You don't have a neovim config installed. Do you want to clone one now?" "pika's standard config" "pika's minimal config" none
|
choose askNvim "You don't have a neovim config installed. Do you want to clone one now?" "pika's standard config" "pika's minimal config" own none </dev/tty
|
||||||
|
|
||||||
case "$askNvim" in
|
case "$askNvim" in
|
||||||
"pika's standard config")
|
"pika's standard config")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue