fixup prompts (#7813)

* fixup prompts

* default for no doesn't have ''
This commit is contained in:
Satadru Pramanik
2023-01-05 14:00:16 -05:00
committed by GitHub
parent 3e2866b361
commit 61cf13e39b
45 changed files with 87 additions and 87 deletions

View File

@@ -59,8 +59,8 @@ class Neovim < Package
@create_vi_symlink_ask = true if @crew_vi || @system_vi
if @create_vi_symlink_ask
print "\nWould you like to set nvim to be the default vi [y/N] "
case $stdin.getc
when 'y', 'Y'
case $stdin.gets.chomp.downcase
when 'y', 'yes'
@create_vi_symlink = true
else
@create_vi_symlink = false