Rev 2514: (Antonin 'gree' Komenda) simple update for bash completion. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Jun 6 21:17:43 BST 2007


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 2514
revision-id: pqm at pqm.ubuntu.com-20070606201738-u5pu5rxhdoyehimv
parent: pqm at pqm.ubuntu.com-20070606144200-rmsd3gyelimh8kal
parent: john at arbash-meinel.com-20070606194439-q12591hd09d4cv1g
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2007-06-06 21:17:38 +0100
message:
  (Antonin 'gree' Komenda) simple update for bash completion.
modified:
  contrib/bash/bzr.simple        bzr-20050503074841-dfc41af1e02111f9
    ------------------------------------------------------------
    revno: 2512.1.1
    merged: john at arbash-meinel.com-20070606194439-q12591hd09d4cv1g
    parent: pqm at pqm.ubuntu.com-20070606083714-rt2za45t9gt5nqqh
    parent: gree at grees.net-20070514122826-9ble6v16x6ni6rzz
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: jam-integration
    timestamp: Wed 2007-06-06 14:44:39 -0500
    message:
      (Antonin 'gree' Komenda) simple update for bash completion.
    ------------------------------------------------------------
    revno: 2485.5.1
    merged: gree at grees.net-20070514122826-9ble6v16x6ni6rzz
    parent: pqm at pqm.ubuntu.com-20070510055501-w262sk5hl33vmd19
    committer: gree <gree at grees.net>
    branch nick: bzr.grees
    timestamp: Mon 2007-05-14 14:28:26 +0200
    message:
      bash completion - fixed simple completion (don't include textual info about command into completion)
=== modified file 'contrib/bash/bzr.simple'
--- a/contrib/bash/bzr.simple	2005-09-19 06:05:19 +0000
+++ b/contrib/bash/bzr.simple	2007-06-06 19:44:39 +0000
@@ -6,7 +6,7 @@
 
 _bzr_commands() 
 {
-     bzr help commands | grep -v '^   '
+     bzr help commands | sed -r 's/^([-[:alnum:]]*).*/\1/' | grep '^[[:alnum:]]' 
 }
 
 _bzr() 




More information about the bazaar-commits mailing list