X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/9a1960b5edade792e0d4d9a8c8e0630e774affc5..e45b0db3d66ca9e041622db3d801d026fb4d3724:/.zsh/zshrc/00_autoload diff --git a/.zsh/zshrc/00_autoload b/.zsh/zshrc/00_autoload index 6098311..e6b4591 100644 --- a/.zsh/zshrc/00_autoload +++ b/.zsh/zshrc/00_autoload @@ -2,14 +2,29 @@ # # Autoload available functions # -# Copyright © 1994–2008 martin f. krafft +# Copyright © 1994–2017 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # # Source repository: http://git.madduck.net/v/etc/zsh.git # -# for p ($fpath) for fn ($p/**) autoload ${fn##*/} -autoload $^fpath/*(.xN:t) -autoload zargs +# autoload all executable files in $fpath +autoload -U $^fpath/*(.xN:t) + +# smart xargs replacement +autoload -U zargs + +# programmable moving, copying, and linking +autoload -U zmv + +# make color arrays available +autoload -U colors ; colors + +# use shell builtins for standard file operations +# disabled due to #479764 +#zmodload zsh/files + +# allow zwc file recompiling +autoload -U zrecompile # vim:ft=zsh