dotfiles/.bin/dexec_ssh_favs
2023-02-22 08:31:38 +01:00

24 lines
426 B
Bash
Executable File

#!/bin/sh
. ~/.bin/_config
HOST=$(echo "
barton.oldbsd.de
tweety.home.codevoid.de
gopher.codevoid.de
shell.codevoid.de
cvs.openbsd.org
shell.uugrn.org
mail2.uugrn.org
mail.codevoid.de
git.codevoid.de
fossil.codevoid.de
jabber.codevoid.de
chat.uugrn.org
www.uugrn.org
" | $DMENU_CMD -p SSH)
if [ ! -z "$HOST" ]; then
set -x
texec "ssh -tt $HOST 'LC_ALL=de_DE.UTF-8 tmux -u2 attach || LC_ALL=de_DE.UTF-8 tmux -u2'"
fi