~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/bash/bzr.simple

  • Committer: John Arbash Meinel
  • Date: 2007-06-06 19:44:39 UTC
  • mfrom: (2485.5.1 bzr.grees)
  • mto: This revision was merged to the branch mainline in revision 2514.
  • Revision ID: john@arbash-meinel.com-20070606194439-q12591hd09d4cv1g
(Antonin 'gree' Komenda) simple update for bash completion.

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()