mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-24 05:11:08 +02:00
9 lines
311 B
Text
9 lines
311 B
Text
#compdef zsh-mime-handler
|
|
|
|
# zsh-mime-handler -l is supposed to print out the command line
|
|
# with quoting to turn it into a full executable line. So
|
|
# we need to use shell splitting to turn it into words and
|
|
# then unquoting on those words.
|
|
words=(${(Q)${(z)"$(zsh-mime-handler -l ${words[2,-1]})"}})
|
|
|
|
_normal
|