1
0
mirror of https://github.com/akelge/zsh synced 2025-07-03 13:09:07 +00:00

Fix x509 function and autoload it

This commit is contained in:
Andrea Mistrali
2017-04-15 09:25:40 +02:00
parent 67b66e6ce4
commit 1e4ca33c1b
3 changed files with 8 additions and 1 deletions

View File

@ -1 +1,5 @@
openssl x509 -in $1 -noout -text | less
if [ -r "$1" ]; then
openssl x509 -in $1 -noout -text | less
else
echo "x509 <certfile>"
fi