aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-07 19:28:24 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-12-07 19:28:24 +0100
commitd5bfa27035b4792f34dce475ed921879274f2e98 (patch)
tree86a71fe31d9f24c407239185282792e9c3abb5ea /data
parentb0733190b06b3684f0994809b17543033c5c00ca (diff)
downloadpandoc-d5bfa27035b4792f34dce475ed921879274f2e98.tar.gz
Improved bash-completion for filenames with spaces.
Diffstat (limited to 'data')
-rw-r--r--data/bash_completion.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/bash_completion.tpl b/data/bash_completion.tpl
index 45fe03f9f..90ba69740 100644
--- a/data/bash_completion.tpl
+++ b/data/bash_completion.tpl
@@ -68,7 +68,7 @@ _pandoc()
;;
*)
local IFS=$'\n'
- COMPREPLY=( $(compgen -X '' -f ${cur}) )
+ COMPREPLY=( $(compgen -X '' -f "${cur}") )
return 0
;;
esac