repo.or.cz
/
iomenu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Allowing nesting with "main" session, removing io-ii.
[iomenu.git]
/
io-abduco
blob
0fc4eb0e289d6fd5fc3f7610bd6fbaecd78a840c
1
# Prompt for an abduco session to attach to
2
3
[ "$ABDUCO" != 'main' ] || [ -z "$ABDUCO" ] && exit 1
4
5
name="$(
6
printf '#%s' "$(
7
abduco | sed -r 's/(.*)\t(.*)/\2 # \1/'
8
)" | iomenu -s '#'
9
)"
10
11
[ "$name" ] && TERM=screen ABDUCO="$name" exec abduco -A "$name" io-run