Mercurial > dotfiles
view .shell.d/10.functionpath.zsh @ 284:426917c07eb1
functionpath: fix af_reloadfuncs()
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 30 Jan 2012 12:56:49 -0600 |
parents | 846d556d9619 |
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 }