mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-13 21:53:20 +03:00
sync
This commit is contained in:
8
.zshrc
8
.zshrc
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
################################
|
################################
|
||||||
# 2022. WTFPL. #
|
# WTFPL. #
|
||||||
# .zshrc of David Aizenberg #
|
# .zshrc of David Aizenberg #
|
||||||
# david.aizenberg@paranoici.org#
|
# david.aizenberg@paranoici.org#
|
||||||
################################
|
################################
|
||||||
@@ -64,6 +64,12 @@ function fzf-ssh () {
|
|||||||
zle reset-prompt
|
zle reset-prompt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# src: https://stackoverflow.com/a/59412853
|
||||||
|
function seecert () {
|
||||||
|
nslookup $1
|
||||||
|
(openssl s_client -showcerts -servername $1 -connect $1:443 <<< "Q" | openssl x509 -text | grep -iA2 "Validity")
|
||||||
|
}
|
||||||
|
|
||||||
zle -N fzf-ssh
|
zle -N fzf-ssh
|
||||||
bindkey '^o' fzf-ssh
|
bindkey '^o' fzf-ssh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user