From d5bfa27035b4792f34dce475ed921879274f2e98 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 7 Dec 2016 19:28:24 +0100 Subject: Improved bash-completion for filenames with spaces. --- data/bash_completion.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/bash_completion.tpl') 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 -- cgit v1.2.3