NB: Yes, I've read How can I tell if I'm in a tmux session from a bash script?
How can I find out whether I am running inside a Tmux session from my shell or shell script or shell function or alias if I used sudo su -
in between?:
NB: Yes, I've read How can I tell if I'm in a tmux session from a bash script? How can I find out whether I am running inside a Tmux session from my shell or shell script or shell function or alias if I used |
|||
|
In your Example
So one method would be to add a variable that is resultant of |
|||||||||
|
You can use this technique to bring along whatever else you might like as well. |
|||||||||||||||||
|