[MacPorts] #57813: When command has a dot, it causes a syntax error
MacPorts
noreply at macports.org
Wed Dec 26 04:00:35 UTC 2018
#57813: When command has a dot, it causes a syntax error
--------------------+-----------------------------
Reporter: Tatsh | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: | Port: bash-completion
--------------------+-----------------------------
I have the bash port installed and I have it as my default shell. I have
bash-completion sourced in my bashrc. Everytime I try to invoke a
completion and the command has a period in it, I get a syntax error:
{{{
cargo2port.tcl <TAB>bash: cargo2port.tcl: syntax error: invalid arithmetic
operator (error token is ".tcl")
}}}
I reported this to upstream but I am not sure if this is something they
should handle or if it's something caused by my bashrc (although I've
tried to narrow this down as much as possible).
I am wondering if it has anything to do with the Bash build as I do not
get this error on my Gentoo machine and everything there is nearly
identical in terms of the shell, rc, and version numbers.
[https://github.com/scop/bash-completion/issues/270 GitHub issue]
--
Ticket URL: <https://trac.macports.org/ticket/57813>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list