# ssh completion def _ssh_hosts [] { open ~/.ssh/config | lines | find -ir "host " | each { $in | split row " " | get 1 } } export extern "ssh" [ host?: string@_ssh_hosts ]