diff --git a/zsh.d/zshfunctions/x509remote b/zsh.d/zshfunctions/x509remote index 892706b..cf983f7 100644 --- a/zsh.d/zshfunctions/x509remote +++ b/zsh.d/zshfunctions/x509remote @@ -1,6 +1,6 @@ -if [ -r "$1" ]; then +if [ ! -z "$1" ]; then openssl s_client -connect $1 < /dev/null | \ - openssl x509 -noout -text | less + openssl x509 -noout -text else echo "x509remote " fi diff --git a/zsh.d/zshfunctions/x509remote.zwc b/zsh.d/zshfunctions/x509remote.zwc index 65d120f..3117820 100644 Binary files a/zsh.d/zshfunctions/x509remote.zwc and b/zsh.d/zshfunctions/x509remote.zwc differ