view .shell.d/10.functionpath.zsh @ 158:36a4e4b0f9c3

localfuncs: smart multi-vcs diff command Requires mercurial.el, but it works with both Mercurial and Git.
author Augie Fackler <durin42@gmail.com>
date Tue, 24 Nov 2009 14:25:37 -0600
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
}