I found something in a .bashrc file like:
bind '"\C-j": menu-complete'
bind 'set completion-ignore-case on'
if I remove the ‘bind’,the result seems no different, so what’s the usage of the ‘bind’ here?
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.
bindis used forreadlinelibrary.If you remove the first one, Ctrl-j will not do auto completion for you.
If you remove the second one, auto completion for file name is case-sensitive.
You can use
helpcommand to viewbuiltincommand’s manual.