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

Details

Description:
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:
https://aninix.net/cgit/cgit.cgi/MiscScripts/tree/ShadowArch/bash.bashrc

My profile:
https://aninix.net/cgit/cgit.cgi/MiscScripts/tree/ShadowArch/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.

Loading...