view .shell.d/10.functionpath.zsh @ 132:82fd8ff94de8

Upgrade to more recent layout.
author Augie Fackler <durin42@gmail.com>
date Mon, 17 Aug 2009 17:43:17 -0400
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
}