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

@ -22,5 +22,8 @@ autoload -U fancyTerm
# repo_char - returns a character based on the type of repo we are in
autoload -U repo_char
# repo_char - returns a character based on the type of repo we are in
autoload -U x509
# vim: set ts=4 sw=4 tw=0 ft=zsh :

View File

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

Binary file not shown.