X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.zsh%2Fzshrc%2F00_autoload;h=28a1e64c97a366141dd618b9833d726ad7033df1;hb=6aef4f4cbd4de6478e2cfa59621adfe104c7a497;hp=6098311b3ff7645e7c3e9adb9c6927fd340be2b7;hpb=9a1960b5edade792e0d4d9a8c8e0630e774affc5;p=zsh.git diff --git a/.zsh/zshrc/00_autoload b/.zsh/zshrc/00_autoload index 6098311..28a1e64 100644 --- a/.zsh/zshrc/00_autoload +++ b/.zsh/zshrc/00_autoload @@ -1,3 +1,4 @@ +# -*- mode: sh -*- # zshrc/00_autoload # # Autoload available functions @@ -5,11 +6,26 @@ # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: http://git.madduck.net/v/etc/zsh.git +# Source repository: git://git.madduck.net/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