mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
40107: _mount, _fusermount: fix quoting
This commit is contained in:
parent
9f605904dd
commit
a43e6e2db4
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2016-12-06 Mikael Magnusson <mikachu@gmail.com>
|
||||||
|
|
||||||
|
* 40107: Completion/Linux/Command/_fusermount,
|
||||||
|
Completion/Unix/Command/_mount: fix quoting
|
||||||
|
|
||||||
2016-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2016-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
* unposted: Config/version.mk: 5.2-test-2.
|
* unposted: Config/version.mk: 5.2-test-2.
|
||||||
|
|
|
@ -20,7 +20,7 @@ case "$state" in
|
||||||
_files -/
|
_files -/
|
||||||
else
|
else
|
||||||
mtpts=(${${${"${(f)$(< /etc/mtab)}"}#* }%% *})
|
mtpts=(${${${"${(f)$(< /etc/mtab)}"}#* }%% *})
|
||||||
_canonical_paths mounted 'mounted filesystem' $mtpts
|
_canonical_paths mounted 'mounted filesystem' "${(@g::)mtpts}"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -959,9 +959,9 @@ udevordir)
|
||||||
esac
|
esac
|
||||||
|
|
||||||
local MATCH MBEGIN MEND
|
local MATCH MBEGIN MEND
|
||||||
mp_tmp=("${(@qg::)mp_tmp}")
|
mp_tmp=("${(@g::)mp_tmp}")
|
||||||
dpath_tmp=( "${(@Mqg::)dev_tmp:#/*}" )
|
dpath_tmp=( "${(@Mg::)dev_tmp:#/*}" )
|
||||||
dev_tmp=( "${(@qg::)dev_tmp:#/*}" )
|
dev_tmp=( "${(@g::)dev_tmp:#/*}" )
|
||||||
|
|
||||||
_alternative \
|
_alternative \
|
||||||
'device-labels:device label:compadd -a dev_tmp' \
|
'device-labels:device label:compadd -a dev_tmp' \
|
||||||
|
|
Loading…
Reference in a new issue