Java linux terminal -cp autocomplete

I am working with a java library that requires two files: library.jar and library-extensions.jar. Whenever I try to include both of them, separated by colons (eg -cp "library.jar: library-extensions.jar") and try to use autocomplete in the second jar file, it replaces the first argument for the second.

i.e.

I have something like this:

java -cp "library.jar:l

      

I press 'Tab' to auto-complete the second argument and change to:

java -cp "l

      

Is there anything I can do to enable autocomplete for additional arguments?

I am using terminal on Ubuntu 14.04.

+3


source to share


1 answer


You are using double quotes (") which is causing problems.



Remove double quotes and autocomplete will work easily :)

+1


source







All Articles