tmux concept changed
This commit is contained in:
parent
9d92f712d3
commit
1c0c86698f
@ -1,10 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
if [ -z "$TMUX" ]; then
|
~/bin/tmux_ssh
|
||||||
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
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user