summaryrefslogtreecommitdiff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Linux/Command/_fusermount2
-rw-r--r--Completion/Unix/Command/_mount6
-rw-r--r--Completion/Zsh/Context/_brace_parameter1
3 files changed, 5 insertions, 4 deletions
diff --git a/Completion/Linux/Command/_fusermount b/Completion/Linux/Command/_fusermount
index d3d1647fa..02cb57237 100644
--- a/Completion/Linux/Command/_fusermount
+++ b/Completion/Linux/Command/_fusermount
@@ -20,7 +20,7 @@ case "$state" in
_files -/
else
mtpts=(${${${"${(f)$(< /etc/mtab)}"}#* }%% *})
- _canonical_paths mounted 'mounted filesystem' $mtpts
+ _canonical_paths mounted 'mounted filesystem' "${(@g::)mtpts}"
fi
;;
esac
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index e2c3cfdad..7c5605016 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -959,9 +959,9 @@ udevordir)
esac
local MATCH MBEGIN MEND
- mp_tmp=("${(@qg::)mp_tmp}")
- dpath_tmp=( "${(@Mqg::)dev_tmp:#/*}" )
- dev_tmp=( "${(@qg::)dev_tmp:#/*}" )
+ mp_tmp=("${(@g::)mp_tmp}")
+ dpath_tmp=( "${(@Mg::)dev_tmp:#/*}" )
+ dev_tmp=( "${(@g::)dev_tmp:#/*}" )
_alternative \
'device-labels:device label:compadd -a dev_tmp' \
diff --git a/Completion/Zsh/Context/_brace_parameter b/Completion/Zsh/Context/_brace_parameter
index e77d4c58b..e4f5e6639 100644
--- a/Completion/Zsh/Context/_brace_parameter
+++ b/Completion/Zsh/Context/_brace_parameter
@@ -197,6 +197,7 @@ elif compset -P '*:'; then
'\:=:unconditionally assign value to parameter'
'?:print error if parameter is set and non-null'
'#:filter value matching pattern'
+ '/:replace whole word matching pattern'
'|:set difference'
'*:set intersection'
'^:zip arrays'