1
0
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:
William Ting
2013-12-18 12:06:42 -06:00
parent 99d92733ea
commit 9139092847

View File

@@ -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