Error in line 35 - bash_completion
When I run: source ~/.bashrc , I get the following error line: /usr/share/bash-completion/bash_completion:35: parse error near `]]'
Bash version?
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
What's the version of your bash_completion?
bash_completion - programmable completion functions for bash 4.1+ Version 2 (2.04) RELEASE: 2.1 http://bash-completion.alioth.debian.org/
I have no problem.
Is this the same with your 35th line in bash_completion?
if [[ ${BASH_COMPLETION_DEBUG-} ]]; then
set -v
else
set +v
fi
Exactly, but I believe the problem only occurs when the file is executed with an "invalid argument" or "null" entry , generating an invalid status in the process. As I 'm no master development , I just reported the problem, only.