Last active
November 30, 2021 01:52
-
-
Save bitsmanent/c6ef898607b02f071d84 to your computer and use it in GitHub Desktop.
detach/attach abduco
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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