diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-03-08 10:15:26 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2011-03-08 10:15:26 +0100 |
commit | 6bfe524a84f9c6456c52a000fff7fd717b68a9b9 (patch) | |
tree | efc16420801f379274d0b4862ace70e90a8a24f3 /.zsh/zshrc/00_autoload | |
parent | 9b90623acc137beff954bb78dcc0f8cb87f37c8c (diff) |
load all executables in fpath, xarsg replacement
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 |