diff options
author | Patrick Simianer <p@simianer.de> | 2018-01-01 19:41:07 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2018-01-01 19:41:07 +0100 |
commit | 8a37444f56a04d60d7afc78f33dde5daf0979ce7 (patch) | |
tree | 1232433d451adcfae04246e2b0f1af36c1848e0f | |
parent | ea6826594accd4006b82d9e6e95b329101afb257 (diff) |
zsh: curl timeout
-rw-r--r-- | zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ stty -ixon # enable mapping of C-s in vim.. autoload -U colors && colors in_google_cloud () { - curl metadata.google.internal -i &>/dev/null + curl metadata.google.internal -i --connect-timeout 0.25 &>/dev/null if [[ $? -eq 0 ]]; then echo "yes" else |