Replaced dm(1) with alias dm="abduco -A" - scripts - various script and utils
HTML git clone git://z3bra.org/scripts
DIR Log
DIR Files
DIR Refs
---
DIR commit c0adf9741b590e88402d276d532fd670d26046d5
DIR parent 6923e24d2277d276f92bf8c31af5f77900028cbb
HTML Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 20 Aug 2026 21:13:24 +0000
Replaced dm(1) with alias dm="abduco -A"
Diffstat:
D dm | 41 -------------------------------
1 file changed, 0 insertions(+), 41 deletions(-)
---
DIR diff --git a/dm b/dm
@@ -1,41 +0,0 @@
-#!/bin/sh
-#
-# z3bra - (c) wtfpl 2014
-# Create/list/attach/detach applications using dtach
-
-sockdir=/tmp/dm
-keyseq=
-
-list() {
- # change colors, for fun!
- ls -1 $sockdir
-}
-
-usage() {
- echo "`basename $0` [-hl] <alias> [command]"
-}
-
-test -d $sockdir || mkdir -p $sockdir
-
-while getopts "hl" opt; do
- case $opt in
- l) list; exit 0 ;;
- h) usage; exit 0 ;;
- *) usage; exit 1 ;;
- esac
-done
-
-shift $((OPTIND - 1))
-
-case $# in
- 0) list; exit 0;;
- 1) method=a;;
- *) method=A;;
-esac
-name=$1
-
-shift
-
-socket="${sockdir}/${name}"
-
-dtach -${method} ${socket} -e ${keyseq} -r winch $@