annotate .shell.d/10.functionpath.zsh @ 184:efa2bfc73d2d

update-source-trees: recurse to find all VCS working copies
author Augie Fackler <durin42@gmail.com>
date Tue, 26 Jan 2010 11:48:39 -0600
parents 846d556d9619
children 426917c07eb1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 fpath=(~/.zfun $fpath)
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
2 autoload -U ~/.zfun/*(:t)
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
3
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
4 function af_reloadfuncs()
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
5 {
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
6 local f
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
7 f=(~/.zfun/*(.))
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
8 unfunction $f:t 2> /dev/null
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
9 autoload -U $f:t
846d556d9619 Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
10 }