fix make install

This commit is contained in:
aynic.os
2022-06-04 02:24:35 +02:00
parent ff1da1fc3c
commit 14a4f86524
20 changed files with 46 additions and 84 deletions
@@ -254,7 +254,8 @@ ssh_del() {
tmux_attach() {
command -v tmux >/dev/null 2>&1 || return
TMUX_SESSION="$(id -nu)@$(hostname |sed 's/\..*//')"
if [ -z "${TMUX}" ]; then
# do not attach tmux in screen ;)
if [ -z "${TMUX}" -a -z "${STY}" ]; then
printf 'Attaching tmux.' && sleep 1\
&& printf '.' && sleep 1\
&& printf '.' && sleep 1