diff options
Diffstat (limited to '.zsh/zshrc/00_autoload')
-rw-r--r-- | .zsh/zshrc/00_autoload | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/.zsh/zshrc/00_autoload b/.zsh/zshrc/00_autoload index 1da6cde..3f2c312 100644 --- a/.zsh/zshrc/00_autoload +++ b/.zsh/zshrc/00_autoload @@ -1,16 +1,24 @@ # zshrc/00_autoload # -# Autoload functions +# Autoload available functions # -# Copyright © 2010 Tobias Klauser <tklauser@distanz.ch> +# Copyright © 2011 Tobias Klauser <tklauser@distanz.ch> +# Copyright © 1994–2008 martin f. krafft <madduck@madduck.net> # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.distanz.ch/dotfiles/zsh.git +# + +# autoload all executable files in $fpath +autoload -U $^fpath/*(.xN:t) + +# smart xargs replacement +autoload -U zargs -# programmable rename +# programmable moving, copying, and linking autoload -U zmv -# make color arrays available -autoload -U colors ; colors 2>/dev/null +# allow zwc file recompiling +autoload -U zrecompile # vim:ft=zsh |