~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/bash/bzr.simple

  • Committer: John Arbash Meinel
  • Date: 2009-03-27 04:23:35 UTC
  • mto: This revision was merged to the branch mainline in revision 4209.
  • Revision ID: john@arbash-meinel.com-20090327042335-5a8ii0h5sa4ktx04
Switch to using a FIFOCache.

That gives us the lookup performance of a dict, while still being capped
at max size.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
_bzr_commands() 
8
8
{
9
 
     bzr help commands | grep -v '^   '
 
9
     bzr help commands | sed -r 's/^([-[:alnum:]]*).*/\1/' | grep '^[[:alnum:]]' 
10
10
}
11
11
 
12
12
_bzr()