complete-alias
complete-alias copied to clipboard
[shellcheck] errors
In /usr/share/bash-complete-alias/complete_alias line 296:
elif [[ '(' == "${str:j:1}" ]]; then
^-- SC1009 (info): The mentioned syntax error was in this elif clause.
^-- SC1073 (error): Couldn't parse this test expression. Fix to allow more checks.
^-- SC1029 (error): In [[..]] you shouldn't escape ( or ).
^-- SC1108 (error): You need a space before and after the == .
^-- SC1072 (error): Expected comparison operator (don't wrap commands in []/[[]]). Fix any mentioned problems and try again.
For more information:
https://www.shellcheck.net/wiki/SC1029 -- In [[..]] you shouldn't escape ( ...
https://www.shellcheck.net/wiki/SC1108 -- You need a space before and after...
https://www.shellcheck.net/wiki/SC1072 -- Expected comparison operator (don...