Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java linux terminal -cp auto-complete

I'm working with a java library which needs two files 'library.jar' and 'library-extensions.jar'. Whenever I try to include both of them separated by a colon (e.g. -cp "library.jar:library-extensions.jar") and try to use auto-complete on the second jar file, it substitutes the first argument for the second one.

i.e.

I have something like this:

java -cp "library.jar:l

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

java -cp "l

Is there anything I can do to enable proper auto-complete on additional arguments?

I'm using terminal on Ubuntu 14.04.

like image 416
Rizhiy Avatar asked Mar 17 '26 14:03

Rizhiy


1 Answers

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

Remove double quotes & auto-complete will work easily :)

like image 185
Yuvraj Gupta Avatar answered Mar 19 '26 04:03

Yuvraj Gupta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!