mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-24 05:48:48 +00:00
Merge pull request #455 from tfaughnan/ps-fix
ps.sh: fix ps arguments to work for busybox
This commit is contained in:
commit
88297b4c3a
@ -11,7 +11,7 @@ exit_safely_if_empty_ppid() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
full_command() {
|
full_command() {
|
||||||
ps -ao "ppid command" |
|
ps -ao "ppid,args" |
|
||||||
sed "s/^ *//" |
|
sed "s/^ *//" |
|
||||||
grep "^${PANE_PID}" |
|
grep "^${PANE_PID}" |
|
||||||
cut -d' ' -f2-
|
cut -d' ' -f2-
|
||||||
|
Loading…
Reference in New Issue
Block a user