From 6bfe524a84f9c6456c52a000fff7fd717b68a9b9 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 8 Mar 2011 10:15:26 +0100 Subject: load all executables in fpath, xarsg replacement --- .zsh/zshrc/00_autoload | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to '.zsh/zshrc') 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 +# Copyright © 2011 Tobias Klauser +# Copyright © 1994–2008 martin f. krafft # 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 -- cgit v1.2.3-54-g00ecf