view .shell.d/10.functionpath.zsh @ 62:f9e826bd1f1b

Add a function to ammend the latest revision in hg. I don't do this often, but when I need it it is handy.
author Augie Fackler <durin42@gmail.com>
date Wed, 11 Mar 2009 10:47:19 -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
}