I’m using V8 javascript interpreter on the command line but it has no tab-completion.
Is it possible to add it somehow?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I presume you mean the
shellsample? (scons sample=shell). It doesn’t support tab completion out of the box (there’s no config option, etc.), but if you are comfortable with C/C++, it should be relatively trivial to enhance it to add tab completion using GNU Readline.Likely it doesn’t use
readlineby default because of licensing issues (and why introduce the dependency for a sample), but that doesn’t stop you from supporting it in your installation.