[Bash-completion-devel] complete: -n: invalid option

Raphaël Droz raphael.droz at gmail.com
Fri Apr 19 15:18:39 UTC 2013


Hi,
Just found this one today:

# Here is the line
$ A=B -n

# Put the cursor after "B"
$ A=B -n
-----^	# here

# press <tab>
complete: -n: invalid option
usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] ... blablabla


Using;
bash-completion: 0837ad0 (Tue Feb 5)
bash 4.3 (alpha)


Semantic: how could be named a completion attempt happening when the
cursor is not at EOL ?



More information about the Bash-completion-devel mailing list