mirror of https://github.com/akelge/zsh
Fix x509 function and autoload it
This commit is contained in:
parent
67b66e6ce4
commit
1e4ca33c1b
|
@ -22,5 +22,8 @@ autoload -U fancyTerm
|
||||||
# repo_char - returns a character based on the type of repo we are in
|
# repo_char - returns a character based on the type of repo we are in
|
||||||
autoload -U repo_char
|
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 :
|
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
||||||
|
|
|
@ -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
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue