This bug was fixed in the package bash-completion - 1:1.1-3ubuntu4
---
bash-completion (1:1.1-3ubuntu4) maverick; urgency=low
* Revert the patch for LP: #546794 due to an unforseen side effect.
-- Evan Dandrea ev...@ubuntu.com Tue, 01 Jun 2010 08:47:01 +0100
** Changed in:
I've attached a patch that should fix the original bug without causing
any errors.
** Patch added: 546794.diff
http://launchpadlibrarian.net/49499775/546794.diff
** Summary changed:
- [revert, causes errors] Smarter lib* aware autocompletion?
+ Smarter lib* aware autocompletion?
** Changed
** Changed in: bash-completion (Ubuntu)
Milestone: None = maverick-alpha-1
** Changed in: bash-completion (Ubuntu)
Importance: Undecided = Medium
--
[revert, causes errors] Smarter lib* aware autocompletion?
https://bugs.launchpad.net/bugs/546794
You received this bug notification
** Description changed:
- This patch has lead to serious errors (comments #6, #7) and has clearly
- never been tested. It should be reverted (debdiff in comment #8).
+ This patch has lead to serious errors (comments #6, #7) and has clearly never
been tested. It should be reverted (debdiff in
FWIW, I'd like to me too the above sentiments that, even when working
correctly, this behavior is incredibly unintuitive to me. I fail to see
who it's meant to help, really.
The only people (a tiny subset of users) who would frequently install
libraries by hand (rather than as dependencies of
** Description changed:
+ This patch has lead to serious errors (comments #6, #7) and has clearly
+ never been tested. It should be reverted (debdiff in comment #8).
+
+ [ORIGINAL DESCRIPTION:]
Binary package hint: apt
Wouldn't it be nice if when typing
apt-get install clu [press
bash: /etc/bash_completion.d/apt: line 32: syntax error near unexpected token
`;'
bash: /etc/bash_completion.d/apt: line 32: `2 /dev/null );
$( apt-cache --no-generate pkgnames lib$cur \'
bash: /etc/bash_completion.d/apt: line 33: syntax error near unexpected token
`)'
bash:
I've copypaste-ed a piece of code from patch to actual file. It works.
But, then, I still get
bash: /etc/bash_completion.d/apt: line 33: syntax error near unexpected token
`)'
bash: /etc/bash_completion.d/apt: line 33: ` 2 /dev/null); )'
Of course, if I remove two offending semicolons I get no
When I try given example, I get (after removing ;) (after pressing
Tab):
~$ apt-get install clu
clustalwlibclutter-1.0-dbg
clustalw-mpilibclutter-1.0-dev
clustalxlibclutter-1.0-doc
cluster3libclutter-doc
Confirmed the syntax error when bash starts.
bash-completion:
Installed: 1:1.1-3ubuntu3
** Changed in: bash-completion (Ubuntu)
Status: New = Confirmed
--
[revert, causes errors] Smarter lib* aware autocompletion?
https://bugs.launchpad.net/bugs/546794
You received this bug
** Changed in: apt (Ubuntu)
Status: New = Invalid
--
[revert, causes errors] Smarter lib* aware autocompletion?
https://bugs.launchpad.net/bugs/546794
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
11 matches
Mail list logo