view .shell.d/10.functionpath.zsh @ 378:20e47bc8eea9

hgrc: disable hg-git and hgsubversion It hasn't been common for me to use either of these extensions for some time, so just drop both of them from the main hgrc. Instead I'll enable them as-needed in individual repositories.
author Augie Fackler <durin42@gmail.com>
date Thu, 09 Jun 2011 20:20:04 -0500
parents 426917c07eb1
children
line wrap: on
line source

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

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