view .shell.d/10.functionpath.zsh @ 89:f34d90569fdc

Add a file for local functions not yet extracted into a module. Includes a function to run pyflakes on the current buffer.
author Augie Fackler <durin42@gmail.com>
date Fri, 17 Apr 2009 10:27:20 -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
}