view .shell.d/10.functionpath.zsh @ 128:d59b0340a85a

Man, this is what I wanted all along.
author Augie Fackler <durin42@gmail.com>
date Thu, 23 Jul 2009 10:21:50 -0500
parents 846d556d9619
children 426917c07eb1
line wrap: on
line source

fpath=(~/.zfun $fpath)
autoload -U ~/.zfun/*(:t)

function af_reloadfuncs()
{
  local f
  f=(~/.zfun/*(.))
  unfunction $f:t 2> /dev/null
  autoload -U $f:t
}