[Bug 1358154] Re: Bash autocompletion not working for apt command

Mathew Hodson mathew.hodson at gmail.com
Sat Aug 15 02:32:19 UTC 2015


** Description changed:

- Bash autocompletion not working for apt standalone utility (version 1.0 and above)
- $apt-get upd <TAB> -- complete well
- $apt upd <TAB> -- nothing happen
- Please, add completion support for apt v.1.0
+ [Impact]
+ 
+ Bash completion is not working for the apt tool.
+ 
+ With the apt-get utility, you could do apt-g<tab> upg<tab> and hit enter
+ and be done. With the new apt tool, you can no longer do this and
+ instead have to type in apt list/update/upgrade/full-upgrade.
+ 
+ [Test Case]
+ 
+ * Type "apt upd"
+ 
+ * Press Tab key
+ 
+ * Command should complete to "apt update"
+ 
+ * Repeat with the first three letters of other frequently used commands
+ upgrade/remove/purge
+ 
+ [Regression Potential]
+ 
+ There shouldn't be any regression since bash-completion didn't
+ previously support apt at all.

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1358154

Title:
  Bash autocompletion not working for apt command

Status in bash-completion package in Ubuntu:
  Fix Released
Status in bash-completion source package in Trusty:
  New
Status in bash-completion package in Debian:
  New

Bug description:
  [Impact]

  Bash completion is not working for the apt tool.

  With the apt-get utility, you could do apt-g<tab> upg<tab> and hit
  enter and be done. With the new apt tool, you can no longer do this
  and instead have to type in apt list/update/upgrade/full-upgrade.

  [Test Case]

  * Type "apt upd"

  * Press Tab key

  * Command should complete to "apt update"

  * Repeat with the first three letters of other frequently used
  commands upgrade/remove/purge

  [Regression Potential]

  There shouldn't be any regression since bash-completion didn't
  previously support apt at all.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1358154/+subscriptions



More information about the Ubuntu-sponsors mailing list