From: martin f. krafft Date: Mon, 5 May 2008 17:20:42 +0000 (+0100) Subject: import modules X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/ec3bedb921f4b2aebd70a007afc3efdfb6bfbc0d?hp=8aa9bb3db5f5fbe2c32303a54289895f47017e7c import modules --- diff --git a/.zsh/zshrc/00_autoload b/.zsh/zshrc/00_autoload index 6098311..7d5de0f 100644 --- a/.zsh/zshrc/00_autoload +++ b/.zsh/zshrc/00_autoload @@ -8,8 +8,19 @@ # Source repository: http://git.madduck.net/v/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 +zmodload zsh/files # vim:ft=zsh diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index d54934a..2855a62 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -30,6 +30,10 @@ alias lssmall="ls -Srl *(.oL[1,10])" alias lsnew="ls -rl *(D.om[1,10])" alias lsold="ls -rtlh *(D.om[1,10])" +alias mmv='noglob zmv -W' +alias zcp=zmv +alias zln=zmv + alias cal='cal -3' alias ftp=lftp