summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-11-02 09:49:40 +0200
committerPaul Buetow <paul@buetow.org>2025-11-02 09:49:40 +0200
commit1aac948ba7f2f96101b227af513178c2e35efb5d (patch)
tree93c52b5eef8443b89023fa3eb479aee2ecddc986
parent9743284320e785efa080b160554bb726dba0155f (diff)
Update
-rw-r--r--dotfiles/fish/conf.d/utils.fish9
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