1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +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): def surround_quotes(string):
"""
Bash has problems dealing with certain paths so we're surrounding all
path outputs with quotes.
"""
if in_bash(): if in_bash():
return '"{}"'.format(string) return '"{}"'.format(string)
return string return string