Rev 2513: (Antonin 'gree' Komenda) simple update for bash completion. in http://bzr.arbash-meinel.com/branches/bzr/jam-integration
John Arbash Meinel
john at arbash-meinel.com
Wed Jun 6 20:44:54 BST 2007
At http://bzr.arbash-meinel.com/branches/bzr/jam-integration
------------------------------------------------------------
revno: 2513
revision-id: 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.
modified:
contrib/bash/bzr.simple bzr-20050503074841-dfc41af1e02111f9
------------------------------------------------------------
revno: 2485.5.1
revision-id: 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)
-------------- next part --------------
=== 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