summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-03-08 10:15:26 +0100
committerTobias Klauser <tklauser@distanz.ch>2011-03-08 10:15:26 +0100
commit6bfe524a84f9c6456c52a000fff7fd717b68a9b9 (patch)
treeefc16420801f379274d0b4862ace70e90a8a24f3 /.zsh/zshrc
parent9b90623acc137beff954bb78dcc0f8cb87f37c8c (diff)
load all executables in fpath, xarsg replacement
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc/00_autoload18
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