bin-utils/tmux_rattach.sh

11 lines
149 B
Bash
Raw Permalink Normal View History

2015-05-30 16:42:42 +00:00
#!/bin/sh
# Crée ou attache une session tmux
export TERM="xterm-256color"
if tmux has 2> /dev/null
then
exec tmux attach
else
exec tmux new
fi