From 1c0c86698f20c76a3b5e63ebdcc0f3c649685259 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Mon, 10 Oct 2022 13:48:40 +0200 Subject: [PATCH] tmux concept changed --- available/tmux_local.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/available/tmux_local.sh b/available/tmux_local.sh index 7c64ada..63d5619 100755 --- a/available/tmux_local.sh +++ b/available/tmux_local.sh @@ -1,10 +1,5 @@ #!/bin/sh # -if [ -z "$TMUX" ]; then - if tmux attach -t $(tmux ls | grep -v attached | head -1 | cut -f1 -d:) || tmux; then - exit - else - echo "Error while exicuting tmux. Check if tmux is installed" - fi -fi +~/bin/tmux_ssh +