1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00

add quotes for bash output

This commit is contained in:
William Ting
2013-12-17 16:06:27 -06:00
parent 3125c65378
commit 1e4ca4d67e
2 changed files with 11 additions and 1 deletions

View File

@@ -321,7 +321,7 @@ def main():
result = first(find_matches(entriefy(load(config)), args.directory))
if result:
print(encode_local(result.path))
print(encode_local(surround_quotes(result.path)))
else:
# always return something so the calling shell function has an
# argument to `cd` to