vim, gitconfig, update.sh
[dotfiles_afify.git] / .scripts / connect_server
blob2b9ea79a60584c4a57cac2314fe568e47d347a35
1 #!/bin/sh
3 f=~/.ssh/config
4 mat="/Host / && !(/git*/ || /\\*/) {print \$2}"
5 host=$(awk "$mat" "$f" | dmenu)
6 [ -n "$host" ] && ssh "$host"