File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,8 @@ venv::delete() {
172172 echo
173173 echo " Examples:"
174174 echo " $ venv delete"
175- echo " Are you sure you want to delete the virtual environment in .venv? [y/N] y"
175+ echo " Are you sure you want to delete the virtual environment in .venv? [y/N]"
176+ echo " y"
176177 echo " $ Virtual environment deleted!"
177178 return " ${_success} "
178179 fi
@@ -184,7 +185,8 @@ venv::delete() {
184185
185186 # If -y is not supplied as input argument, prompt the user for confirmation
186187 if [ " $1 " != " -y" ]; then
187- read -r -p " Are you sure you want to delete the virtual environment in .venv? [y/N] " response
188+ echo " Are you sure you want to delete the virtual environment in .venv? [y/N]"
189+ read -r response
188190
189191 local accept_pattern=" ^([yY][eE][sS]|[yY])$"
190192 if [[ ! " ${response} " =~ $accept_pattern ]]; then
You can’t perform that action at this time.
0 commit comments