mirror of
https://github.com/akelge/zsh
synced 2025-07-04 05:29:06 +00:00
Fix x509 function and autoload it
This commit is contained in:
@ -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 :
|
||||
|
@ -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.
Reference in New Issue
Block a user