Commit 351b801
Sergei Gerasenko
Refactor
When counting the number of running tmux processes, count only those
that belong to the current user.
`tmux a` shows as a separate process (must be the client process) and
thus needs to be excluded from the calculation as well. The previous
exclusion of `tmux source` was also incorporated.all_tmux_processes
1 parent 90f4a00 commit 351b801
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
0 commit comments