Improved bash-completion for filenames with spaces.
commitd5bfa27035b4792f34dce475ed921879274f2e98
authorJohn MacFarlane <jgm@berkeley.edu>
dateWed 7 Dec 2016, 19:28 (10 years ago)
parentb073319
data/bash_completion.tpl+1−1
@@ -68,7 +68,7 @@ _pandoc()
6868 ;;
6969 *)
7070 local IFS=$'\n'
71− COMPREPLY=( $(compgen -X '' -f ${cur}) )
71+ COMPREPLY=( $(compgen -X '' -f "${cur}") )
7272 return 0
7373 ;;
7474 esac