[Bash-completion-devel] Bug#623562: /etc/bash_completion.d/sh: please provide simple file completion for sh

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Apr 21 09:08:26 UTC 2011


Package: bash-completion
Version: 1:1.3-1
Severity: normal
File: /etc/bash_completion.d/sh

Hello,

some time ago our system admin updated our development server and since
then one of my workflows became harder. It's like the following:

do that once:
	$ echo "very complicated build command" > refresh
	$ echo "yet another command" >> refresh

and then I just call

	sh refresh

to get things going.

With the current bash completion

	sh ref<tab>

doesn't complete ref to refresh though the match is unique.
For now I'm adding

	complete -r sh

in my .bashrc which makes the completion work for me again.

Best regards
Uwe

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          4.1-3      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information





More information about the Bash-completion-devel mailing list