diff --git a/zsh-proxy.plugin.zsh b/zsh-proxy.plugin.zsh index 2501727..42fbedf 100755 --- a/zsh-proxy.plugin.zsh +++ b/zsh-proxy.plugin.zsh @@ -35,15 +35,16 @@ __check_ip() { echo "Check what your IP is" echo "----------------------------------------" echo -n "IPv4: " - curl -s https://api-ipv4.ip.sb/ip + curl -s -k https://api-ipv4.ip.sb/ip echo "----------------------------------------" echo -n "IPv6: " - curl -s https://api-ipv6.ip.sb/ip + curl -s -k https://api-ipv6.ip.sb/ip if command -v python >/dev/null; then + echo "" echo "----------------------------------------" echo "Info: " - curl -s https://api.ip.sb/geoip | python -m json.tool + curl -s -k https://api.ip.sb/geoip | python -m json.tool echo "" fi