]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zshrc/00_autoload
add ~/.local/bin to PATH
[zsh.git] / .zsh / zshrc / 00_autoload
index 6098311b3ff7645e7c3e9adb9c6927fd340be2b7..28a1e64c97a366141dd618b9833d726ad7033df1 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: sh -*-
 # zshrc/00_autoload
 #
 # Autoload available functions
@@ -5,11 +6,26 @@
 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
 # 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