dots: public mirror (history reset after licence cleanup)

This commit is contained in:
Coja committed 2026-11-09 18:19:14 +01:00
commit 693822ad5f
226 files changed
+22502

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
function sshf --description 'fzf-pick an ssh host from ~/.ssh/config'
# command fzf: bypass the fzf alias (its bat preview makes no sense for host names);
# skip `Host *` wildcard blocks and take every alias on multi-name Host lines
set -l host (awk '/^Host /{for (i = 2; i <= NF; i++) if ($i != "*") print $i}' ~/.ssh/config | command fzf)
test -n "$host"; and ssh $host
end