Browse Source

tmux concept changed

master
Dirk Alders 2 years ago
parent
commit
1c0c86698f
1 changed files with 2 additions and 7 deletions
  1. 2
    7
      available/tmux_local.sh

+ 2
- 7
available/tmux_local.sh View File

@@ -1,10 +1,5 @@
1 1
 #!/bin/sh
2 2
 #
3
-if [ -z "$TMUX" ]; then
4
-    if tmux attach -t $(tmux ls | grep -v attached | head -1 | cut -f1 -d:) || tmux; then
5
-        exit
6
-    else
7
-        echo "Error while exicuting tmux. Check if tmux is installed"
8
-    fi
9
-fi
3
+~/bin/tmux_ssh
4
+
10 5
 

Loading…
Cancel
Save