dot

packages and services management
Log | Files | Refs | README

commit bece9c83a643ea6c7414a093ce6b3d5bc074ea54
parent 79418d1e6c94c9e1f26e599d5fe1e36d7768ca01
Author: sshbio <jd@ssh.bio>
Date:   Fri, 29 Jul 2016 14:21:56 +0200

fixed attach detach scripts under termux

Diffstat:
Mbin/attach | 2+-
Mbin/run | 2+-
Mdmenu/build.sh | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/attach b/bin/attach @@ -29,7 +29,7 @@ name="${name##* }" # Reset the screen, set the name of the session and attath to it printf '\033[2J\033[0;0f\033[0m\033]0;%s\007' "$name" | tr '!' '/' -[ "$name" ] && TERM=screen ABDUCO="$name" abduco -a "$name" +[ "$name" ] && TERM=screen ABDUCO="$name" abduco -e '^z' -a "$name" # Reminder of current sessions printf '\n' diff --git a/bin/run b/bin/run @@ -60,4 +60,4 @@ fi # Start the command in an abduco session TERM=screen ABDUCO="$cmd" \ - abduco -A "$(printf '%s%s' "$cmd" "$file" | tr '/' '!')" $cmd $opt + abduco -e '^z' -A "$(printf '%s%s' "$cmd" "$file" | tr '/' '!')" $cmd $opt diff --git a/dmenu/build.sh b/dmenu/build.sh @@ -7,7 +7,7 @@ build() cp -f "$CONFIG/$1/config.mk" . cp -f "$CONFIG/$1/config.h" . - make stest + cc stest.c -o stest cp stest "$PREFIX/bin/stest" make make PREFIX="$PREFIX" install clean