Evite de conserver le process du shell autour de tmux
This commit is contained in:
parent
1cd39658f0
commit
4a0fa7db14
@ -2,4 +2,9 @@
|
|||||||
|
|
||||||
# Crée ou attache une session tmux
|
# Crée ou attache une session tmux
|
||||||
export TERM="xterm-256color"
|
export TERM="xterm-256color"
|
||||||
tmux attach || tmux new
|
if tmux has 2> /dev/null
|
||||||
|
then
|
||||||
|
exec tmux attach
|
||||||
|
else
|
||||||
|
exec tmux new
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user