mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
Only read 1 char when updating
This commit is contained in:
parent
c78277fd8b
commit
4a1658858c
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ then
|
|||
else
|
||||
echo "[Oh My Zsh] Would you like to check for updates?"
|
||||
echo "Type Y to update oh-my-zsh: \c"
|
||||
read line
|
||||
read -k 1 line; echo
|
||||
if [ "$line" = Y ] || [ "$line" = y ]; then
|
||||
_upgrade_zsh
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue