view .shell.d/10.functionpath.zsh @ 281:268587bbfc2b

_hg: update to latest upstream zsh completion
author Augie Fackler <raf@durin42.com>
date Tue, 17 Apr 2012 16:30:04 -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
}