Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20112 - [bash-completion] completion usage error on services file
Attached to Project:
Arch Linux
Opened by Evaggelos Balaskas (ebal) - Thursday, 08 July 2010, 14:47 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 16 October 2010, 21:59 GMT
Opened by Evaggelos Balaskas (ebal) - Thursday, 08 July 2010, 14:47 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 16 October 2010, 21:59 GMT
|
DetailsDescription:
Bash produces a completion usage error when there is a soft link /etc/init.d to /etc/rc.d Additional info: * /etc/bash_completion.d/service # service(8) and /etc/init.d/* completion Steps to reproduce: # ln -s /etc/rc.d /etc/init.d and then open bash console, it produces the below error: complete: usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...] |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 16 October 2010, 21:59 GMT
Reason for closing: Fixed
Additional comments about closing: /etc/bash_completion.d/service has been removed in bash-completion-1.2-2
Saturday, 16 October 2010, 21:59 GMT
Reason for closing: Fixed
Additional comments about closing: /etc/bash_completion.d/service has been removed in bash-completion-1.2-2
The dated of service file:
2010-07-06 04:20 /etc/bash_completion.d/service
bash-completion 1.2-1
Thats strange that you can't reproduce it !
bash-completion /etc/bash_completion.d/service
$ head /etc/bash_completion.d/service
# service(8) and /etc/init.d/* completion
# This completes on a list of all available service scripts for the
# 'service' command and/or the SysV init.d directory, followed by
# that script's available commands
#
I don't have this command on my system:
$ service
bash: service: command not found
Do you have this command on your system? If yes, from what package did you get it.
Why are you looking for the command service ?
Isnt obvious that /etc/bash_completion.d/service needs a better implementation ?
I am using archlinux on this machine for over a year now, and i havent had this behavior until the upgrade of bash_completion
but i thought to open a bug report - maybe other people have the same usage error on their terminal with bash shell