summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshenv/01_fpath1
-rw-r--r--.zsh/zshrc/00_autoload18
2 files changed, 14 insertions, 5 deletions
diff --git a/.zsh/zshenv/01_fpath b/.zsh/zshenv/01_fpath
index 88fcea3..6c86623 100644
--- a/.zsh/zshenv/01_fpath
+++ b/.zsh/zshenv/01_fpath
@@ -3,6 +3,7 @@
# Add local functions directory to $fpath
#
# Copyright © 2010 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
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