Create the session that will manage the nested/sticky panes
-
create new session named shared
$ tmux new -s shared -
rename current window
| # How to determine if a bash variable is empty? | |
| # A variable in bash (and any POSIX-compatible shell) can be in one of three states: | |
| # | |
| # unset | |
| # set to the empty string | |
| # set to a non-empty string | |
| # Most of the time you only need to know if a variable is set to a non-empty string, but occasionally it's important to distinguish between unset and set # to the empty string. | |
| # |