1 # Prompt for an abduco session to attach to
5 printf 'session already active: %s\n' "$ABDUCO"
9 name="$(printf '#%s' "$(
10 abduco | sed -r 's/(.*)\t(.*)/\2 # \1/'
13 [ "$SSH_CLIENT$SSH_TTY$SSH_CONNECTION" ] && e='^\' || e='^Z'
15 TERM=screen ABDUCO="$name" exec abduco -e "$e" -A "$name" "$SHELL"