We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-u
ps
1 parent 351b801 commit fc73e09Copy full SHA for fc73e09
scripts/helpers.sh
@@ -27,8 +27,7 @@ all_tmux_processes() {
27
# 1) `tmux source-file .tmux.conf` (used to reload tmux.conf)
28
# 2) `tmux a` (which shows an additional process)
29
30
- ps -Ao "command pid uid" |\
31
- grep $UID |\
+ ps -u $UID -o "command pid uid" |\
32
grep -E '^tmux' |\
33
grep -vE '^tmux\s+(a|source)'
34
}
0 commit comments