diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-08-08 17:20:54 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-08-08 17:20:54 +0000 |
commit | a9e7fd4e757924dd11279fba5c7808aac6c1df59 (patch) | |
tree | a986c2cb011dd0a1e179371a0e8365274b431681 /Functions/MIME/zsh-mime-handler | |
parent | 04f055d7660e7ade7533abdf09b4acab54f7ba67 (diff) | |
download | zsh-a9e7fd4e757924dd11279fba5c7808aac6c1df59.tar.gz zsh-a9e7fd4e757924dd11279fba5c7808aac6c1df59.tar.xz zsh-a9e7fd4e757924dd11279fba5c7808aac6c1df59.zip |
28137: zsh-mime-handler typo: $argv[0] should be $argv[1]
Diffstat (limited to 'Functions/MIME/zsh-mime-handler')
-rw-r--r-- | Functions/MIME/zsh-mime-handler | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/MIME/zsh-mime-handler b/Functions/MIME/zsh-mime-handler index 9dd9cca4d..8d15b4688 100644 --- a/Functions/MIME/zsh-mime-handler +++ b/Functions/MIME/zsh-mime-handler @@ -188,9 +188,9 @@ if [[ $handler = *%s* ]]; then # Probably we ought not even to handle multiple # arguments, but at least the error message ought # to make it obvious what's going on. - zformat -f command $handler s:"$argv[0]" + zformat -f command $handler s:"$argv[1]" else - zformat -f command $handler s:"${(q)argv[0]}" + zformat -f command $handler s:"${(q)argv[1]}" fi if (( list )); then execargs=(${(Q)${(z)command}} ${argv[1,-1]}) |