Skip to content

Instantly share code, notes, and snippets.

@bitsmanent
Last active November 30, 2021 01:52
Show Gist options
  • Save bitsmanent/c6ef898607b02f071d84 to your computer and use it in GitHub Desktop.
Save bitsmanent/c6ef898607b02f071d84 to your computer and use it in GitHub Desktop.
detach/attach abduco
dt() {
[ -z "$1" ] && n="dvtm-$RANDOM" || n=$1
f="/tmp/abduco.$n"
if [ -e "$f" ]; then
abduco -a "$f"
else
abduco -c "$f" dvtm
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment