[Fix] cleanup

This commit is contained in:
coja
2026-08-13 01:11:41 +02:00
parent f62cb40499
commit 86726cddce
312 changed files with 12274 additions and 10772 deletions
+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