mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 10:59:08 +00:00 
			
		
		
		
	[Fix #267] Fix psu on non-Mac OS X systems
This commit is contained in:
		@@ -169,6 +169,6 @@ function find-exec {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Displays user owned processes status.
 | 
					# Displays user owned processes status.
 | 
				
			||||||
function psu {
 | 
					function psu {
 | 
				
			||||||
  ps -{U,u}" ${1:-$USER}" -o 'pid,%cpu,%mem,command' "${(@)argv[2,-1]}"
 | 
					  ps -U "${1:-$USER}" -o 'pid,%cpu,%mem,command' "${(@)argv[2,-1]}"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user