use 60_Modules for more module loading
authorJoerg Jaspert <joerg@debian.org>
Mon, 11 Mar 2013 00:11:18 +0000 (01:11 +0100)
committerJoerg Jaspert <joerg@debian.org>
Mon, 11 Mar 2013 00:11:18 +0000 (01:11 +0100)
.zsh/60_Modules.zsh

index efc617b..c5864bb 100644 (file)
@@ -11,3 +11,17 @@ is4 && zmodload -i ${ZSHMODPREFIX}parameter
 # Gives strftime and $EPOCHSECONDS
 is4 && zmodload -i  ${ZSHMODPREFIX}datetime
 
+
+# Funky run-help hooks
+zrcautoload run-help-git
+zrcautoload run-help-svn
+
+# escape URLs automagically
+zrcautoload -U url-quote-magic
+zle -N self-insert url-quote-magic
+
+## Allow known mime types to be used as 'command'
+if is42; then
+    zrcautoload -U zsh-mime-setup
+    zsh-mime-setup
+fi