mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	add surround_quotes() comment
This commit is contained in:
		
							parent
							
								
									99d92733ea
								
							
						
					
					
						commit
						9139092847
					
				| @ -178,6 +178,10 @@ def second(xs): | ||||
| 
 | ||||
| 
 | ||||
| def surround_quotes(string): | ||||
|     """ | ||||
|     Bash has problems dealing with certain paths so we're surrounding all | ||||
|     path outputs with quotes. | ||||
|     """ | ||||
|     if in_bash(): | ||||
|         return '"{}"'.format(string) | ||||
|     return string | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user