blob: c11e5aba9deee19bdd29863ac67ed5e42f760403 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#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
|