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