view .shell.d/10.functionpath.zsh @ 223:739d96003993

af-no-clean-whitespace: make interactive for easy disabling when it is just noise.
author Augie Fackler <durin42@gmail.com>
date Mon, 20 Sep 2010 07:35:29 -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
}