mirror of
				https://github.com/oh-my-fish/theme-bobthefish.git
				synced 2025-06-13 13:03:54 +00:00 
			
		
		
		
	Improve __bobthefish_display_colors variable
				
					
				
			Per suggestions from @bobthecow.
This commit is contained in:
		
							parent
							
								
									2f06c08c33
								
							
						
					
					
						commit
						023030fd50
					
				| @ -608,15 +608,15 @@ end | |||||||
| # =========================== | # =========================== | ||||||
| 
 | 
 | ||||||
| function __bobthefish_display_colors -d 'Print example prompts using the current color scheme' | function __bobthefish_display_colors -d 'Print example prompts using the current color scheme' | ||||||
|   set -g __bobthefish_display_colors 1 |   set -g __bobthefish_display_colors | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| function __bobthefish_maybe_display_colors -S | function __bobthefish_maybe_display_colors -S | ||||||
|   if test -z $__bobthefish_display_colors |   if not set -q __bobthefish_display_colors | ||||||
|     return |     return | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|   set -g __bobthefish_display_colors |   set -e __bobthefish_display_colors | ||||||
| 
 | 
 | ||||||
|   echo |   echo | ||||||
|   set_color normal |   set_color normal | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user