mirror of
				https://github.com/oh-my-fish/theme-bobthefish.git
				synced 2025-06-13 13:03:54 +00:00 
			
		
		
		
	20x faster "has background jobs" flag.
This commit is contained in:
		
							parent
							
								
									b49a821a81
								
							
						
					
					
						commit
						1562614484
					
				| @ -328,7 +328,7 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display flags for a no | |||||||
|     and set superuser $__bobthefish_superuser_glyph |     and set superuser $__bobthefish_superuser_glyph | ||||||
| 
 | 
 | ||||||
|   # Jobs display |   # Jobs display | ||||||
|   [ (jobs -l | wc -l) -gt 0 ] |   jobs -p >/dev/null | ||||||
|     and set bg_jobs $__bobthefish_bg_job_glyph |     and set bg_jobs $__bobthefish_bg_job_glyph | ||||||
| 
 | 
 | ||||||
|   if [ "$nonzero" -o "$superuser" -o "$bg_jobs" ] |   if [ "$nonzero" -o "$superuser" -o "$bg_jobs" ] | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user