diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2022-08-09 17:28:30 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2022-08-09 17:28:30 -0700 |
commit | 1a6dcd017dbf564058a729032de3db139fcf9c7e (patch) | |
tree | e8dad70ff1450f9d7ff9e76510304648108bee56 /tools | |
parent | 6e0a7765188ef970d738108d11eaecc7b79a5f5e (diff) | |
parent | 97134d1eed19b72a9c4bf90a2effa847221608bf (diff) | |
download | zsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.tar.gz zsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.tar.bz2 zsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.zip |
Merge branch 'master' of https://github.com/ohmyzsh/ohmyzsh
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check_for_upgrade.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index 009c273fa..cc527e72d 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -65,7 +65,7 @@ function is_update_available() { local remote_head remote_head=$( if (( ${+commands[curl]} )); then - curl --conect-timeout 2 -fsSL -H 'Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null + curl --connect-timeout 2 -fsSL -H 'Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null elif (( ${+commands[wget]} )); then wget -T 2 -O- --header='Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null elif (( ${+commands[fetch]} )); then |