about summary refs log tree commit diff
path: root/Completion/Linux/Type/_fuse_arguments
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Linux/Type/_fuse_arguments')
-rw-r--r--Completion/Linux/Type/_fuse_arguments6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Linux/Type/_fuse_arguments b/Completion/Linux/Type/_fuse_arguments
index ea705a2d0..b5c21a5e2 100644
--- a/Completion/Linux/Type/_fuse_arguments
+++ b/Completion/Linux/Type/_fuse_arguments
@@ -18,7 +18,7 @@ long=$argv[(I)--]
 if (( long )); then
   argv[long]=($fargs --)
 else
-  set -- $@ $fargs
+  set -- "$@" $fargs
 fi
 
 while [[ $1 == -(O*|F*|[CRWsw]) ]]; do
@@ -38,10 +38,10 @@ if [[ $cvalsvar != - ]]; then
   fsopt='*-o[specify mount options]:mount option:_fuse_values'
   [[ -n $cvalsvar ]] && fsopt+=" -A $cvalsvar"
   fsopt+=' mount\ option'
-  set -- $@ $fsopt
+  set -- "$@" $fsopt
 fi
 
-_arguments -R $opts $@
+_arguments -R $opts "$@"
 
 ret=$?