dotfiles/config/i3/sshmenu

3 lines
143 B
Plaintext
Raw Normal View History

2016-12-09 21:52:34 +01:00
#!/bin/sh
xterm -e "ssh $(cat ~/.ssh/config | grep '^Host ' | cut -d ' ' -f 2 | grep -v '*' | sort | $HOME/.config/i3/dmenu_cmd -p 'SSH to ')"