config-fish/functions/fssh.fish

4 lines
84 B
Fish

function fssh
ssh "$(rg '^Host\b' $HOME/.ssh/config | awk '{print $2}' | fzf)"
end