Move into an external dir
[zsh.git] / .zsh / 06_Modules.zsh
1 # -*- mode: sh;-*-
2
3 ZSHMODPREFIX="zsh/"
4
5 # For checking of message status.
6 is4 && zmodload -i ${ZSHMODPREFIX}stat
7
8 # For checking job return status.
9 is4 && zmodload -i ${ZSHMODPREFIX}parameter
10
11 # Gives strftime and $EPOCHSECONDS
12 is4 && zmodload -i ${ZSHMODPREFIX}datetime
13
14
15 # Funky run-help hooks
16 autoload run-help-git
17 autoload run-help-svn
18
19 # escape URLs automagically
20 autoload -U url-quote-magic
21 zle -N self-insert url-quote-magic
22
23 # we use extended_glob, which breaks some things in git. Like,
24 # git log @{1}..@{1}. This module from Akinori MUSHA helps.
25 autoload -Uz git-escape-magic
26 git-escape-magic
27
28 ## Allow known mime types to be used as 'command'
29 if is42 && zstyle -t ':ganneff:config' mimesetup true; then
30 autoload -U zsh-mime-setup
31 zsh-mime-setup
32 fi