Arch Linux

Please read this before reporting a bug:

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#55841 - [bash-completion] bash_completion syntax error

Attached to Project: Arch Linux
Opened by Shikoba Kage (DarkFeather) - Monday, 02 October 2017, 14:37 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 09 October 2017, 08:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


bash_completion throws an error around __get_cword_at_cursor_by_ref() complaining that the line "local cword words=()" has an unexpected token '('. This causes issues with tab-complete unless users issue a 'complete -r' command.

Additional info:
|> pacman -Qo /usr/share/bash-completion/bash_completion
/usr/share/bash-completion/bash_completion is owned by bash-completion 2.7-1

My bash.bashrc:

My profile:

Steps to reproduce:
source /usr/share/bash-completion/bash_completion
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Monday, 09 October 2017, 08:54 GMT
Reason for closing:  Upstream
Additional comments about closing:  Not a packaging issue.