Unverified Commit 48b98b95 authored by alexagnelli's avatar alexagnelli Committed by GitHub
Browse files

update: only update on a valid affirmative input (#9062)


Co-authored-by: default avatarMarc Cornellà <marc.cornella@live.com>
parent 6152ac30
......@@ -79,8 +79,8 @@ function update_ohmyzsh() {
read -r -k 1 option
[[ "$option" != $'\n' ]] && echo
case "$option" in
[yY$'\n']) update_ohmyzsh ;;
[nN]) update_last-updated_file ;;
*) update_ohmyzsh ;;
esac
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment