about summary refs log tree commit diff
path: root/Functions/MIME/zsh-mime-handler
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-11-20 18:12:31 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-11-20 18:12:31 +0000
commit33b846810cf4e8d29e38b25246e676438ae5a1bf (patch)
tree3be08ff77a511ade6a314472e6273838408fac91 /Functions/MIME/zsh-mime-handler
parent689df35c948b4c6e841fb278c5932bff4c0cee68 (diff)
downloadzsh-33b846810cf4e8d29e38b25246e676438ae5a1bf.tar.gz
zsh-33b846810cf4e8d29e38b25246e676438ae5a1bf.tar.xz
zsh-33b846810cf4e8d29e38b25246e676438ae5a1bf.zip
users/13464: allow MIME suffixes to match upper case variants
26075: fix repeated calendar events so that the next event is always in the
future
Diffstat (limited to 'Functions/MIME/zsh-mime-handler')
-rw-r--r--Functions/MIME/zsh-mime-handler2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/MIME/zsh-mime-handler b/Functions/MIME/zsh-mime-handler
index 9b604c422..4f7bc1eb5 100644
--- a/Functions/MIME/zsh-mime-handler
+++ b/Functions/MIME/zsh-mime-handler
@@ -44,7 +44,7 @@ local suffix context
 local -a match mbegin mend
 
 [[ $1 = (#b)*.([^.]##) ]] || return 1
-suffix=$match[1]
+suffix=${(L)match[1]}
 context=":mime:.${suffix}:"
 
 local handler flags no_sh no_bg