diff options
| author | Paul Buetow <paul@buetow.org> | 2025-11-02 09:49:40 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-11-02 09:49:40 +0200 |
| commit | 1aac948ba7f2f96101b227af513178c2e35efb5d (patch) | |
| tree | 93c52b5eef8443b89023fa3eb479aee2ecddc986 | |
| parent | 9743284320e785efa080b160554bb726dba0155f (diff) | |
Update
| -rw-r--r-- | dotfiles/fish/conf.d/utils.fish | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/fish/conf.d/utils.fish b/dotfiles/fish/conf.d/utils.fish index 0f11217..c7d6f3d 100644 --- a/dotfiles/fish/conf.d/utils.fish +++ b/dotfiles/fish/conf.d/utils.fish @@ -123,6 +123,15 @@ function touchtype::quote end end +function checkcert + set host $argv[1] + set port $argv[2] + openssl s_client \ + -connect $host:$port \ + -servername $host \ + -showcerts </dev/null 2>/dev/null | openssl x509 -noout -dates -subjectend +end + abbr typing 'touchtype::quote' function sway_config_view |
