view .shell.d/10.functionpath.zsh @ 55:846d556d9619

Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
author Augie Fackler <durin42@gmail.com>
date Fri, 20 Feb 2009 11:47:12 -0600
parents
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
}