Mariusz,
Are you starting tmux on shell login (.bashrc/.bash_profile)? Each pane in
tmux runs as if launched at login--meaning they execute .bash_profile /
.bashrc. Fortunately, by default, nested tmux sessions are not allowed, but
wrap your tmux execution in a conditional to prevent the pane from even
trying to create a nested session.
Last lines from my .bash_profile:
if [[ "$TERM" != "screen-256color" ]]; then
exec tmux -S /var/tmux/$USER new-session -A -s "$USER"
fi
-Saad
Post by Thomas AdamPost by Mariusz.makowskisessions should be nested with care, unset $TMUX to force
sessions should be nested with care, unset $TMUX to force
Wheever i start Tmux, i get this message.
i am not starting tmux inside another tmux.
Then the shell that an instance of tmux has started from is propagating that
value down to each shell. So you must be starting tmux from _somewhere_ --
or you've set TMUX somewhere manually.
-- Thomas Adam
------------------------------------------------------------------------------
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users