summaryrefslogtreecommitdiff
path: root/completions/_mock
diff options
context:
space:
mode:
Diffstat (limited to 'completions/_mock')
-rw-r--r--completions/_mock2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/_mock b/completions/_mock
index 020b39b4..c616aed0 100644
--- a/completions/_mock
+++ b/completions/_mock
@@ -27,7 +27,7 @@ _mock()
return 0
;;
-r|--root)
- COMPREPLY=( $( compgen -W "$( command ls $cfgdir )" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$( command ls $cfgdir )" -- "$cur" ) )
COMPREPLY=( ${COMPREPLY[@]/%.cfg/} )
return 0
;;