[Bash-completion-devel] Bug#669618: bash-completion should autocomplete bash alias as well

Reuben Thomas rrt at sc3d.org
Wed Oct 9 23:09:25 UTC 2013


Package: bash-completion
Version: 1:2.0-1ubuntu3
Followup-For: Bug #669618

A related problem is that aliasing an existing command stops
bash-completion working. For example, I had:

alias make=colormake

And that stops bash-completion from working for either make or
colormake. The code that gets bash-completion working for aliases,
e.g.:

http://superuser.com/questions/436314/how-can-i-get-bash-to-perform-tab-completion-for-my-aliases

does not work for this case (where the name of a command with bash
completions is aliased to some other command).

This is a pity, as it means that for make I'm forced to choose between
coloring and bash-completion.

-- System Information:
Debian Release: wheezy/sid
  APT prefers raring-updates
  APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.0-31-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.2-5ubuntu3
ii  dpkg  1.16.10ubuntu1

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



More information about the Bash-completion-devel mailing list