mirror of
				https://github.com/oh-my-fish/theme-bobthefish.git
				synced 2025-06-13 13:03:54 +00:00 
			
		
		
		
	Merge pull request #73 from JelteF/patch-3
Make python --version a single line
This commit is contained in:
		
						commit
						f772b4f179
					
				| @ -566,7 +566,7 @@ function __bobthefish_prompt_vi -S -d 'Display vi mode' | |||||||
| end | end | ||||||
| 
 | 
 | ||||||
| function __bobthefish_virtualenv_python_version -S -d 'Get current python version' | function __bobthefish_virtualenv_python_version -S -d 'Get current python version' | ||||||
|   switch (python --version ^&1) |   switch (python --version ^| tr '\n' ' ') | ||||||
|     case 'Python 2*PyPy*' |     case 'Python 2*PyPy*' | ||||||
|       echo $__bobthefish_pypy_glyph |       echo $__bobthefish_pypy_glyph | ||||||
|     case 'Python 3*PyPy*' |     case 'Python 3*PyPy*' | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user