mirror of
https://github.com/wting/autojump
synced 2026-03-02 03:49:26 +00:00
add surround_quotes() comment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user