mirror of
				https://github.com/oh-my-fish/theme-bobthefish.git
				synced 2025-06-13 13:03:54 +00:00 
			
		
		
		
	Preserve compatibility with fish <2.5
This commit is contained in:
		
							parent
							
								
									c148b97f5c
								
							
						
					
					
						commit
						e31962395f
					
				| @ -1,6 +1,10 @@ | |||||||
| function fish_greeting -d "What's up, fish?" | function fish_greeting -d "What's up, fish?" | ||||||
|     set_color $fish_color_autosuggestion |     set_color $fish_color_autosuggestion | ||||||
|     uname -nmsr |     uname -nmsr | ||||||
|     command -q -s uptime; and uptime | 
 | ||||||
|  |     # TODO: `command -q -s` only works on fish 2.5+, so hold off on that for now | ||||||
|  |     command -s uptime >/dev/null | ||||||
|  |     and uptime | ||||||
|  | 
 | ||||||
|     set_color normal |     set_color normal | ||||||
| end | end | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user