view .shell.d/10.functionpath.zsh @ 74:fd369b708cbe

Better way of altering load-path, add support for local-to-machine emacs configs.
author Augie Fackler <durin42@gmail.com>
date Thu, 09 Apr 2009 13:27:19 -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
}