Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I used chmod to make some scripts executable, and now my bash shell is tab-autocompleting all available commands.

How can I make it go back to completing just files / folders in the current folder?

share|improve this question
1  
It always tab-autocompletes command names as the first thing after the prompt. Are you saying that even after you enter a command name, it keeps offering command names as the next word of the command line? Are you sure you're not in a directory full of command files? –  Spiff Sep 30 '13 at 21:24
    
ah true! I was trying to access bin folder commands. With bin/ and then tab it works, but it I type b and tab it shows a huge list. which makes sense. thanks Spiff –  AJcodez Sep 30 '13 at 21:34
    
Okay, I've made it an Answer so you can Accept it. –  Spiff Sep 30 '13 at 23:44
add comment

1 Answer

up vote 0 down vote accepted

It always tab-autocompletes command names as the first thing after the prompt. Are you saying that even after you enter a command name, it keeps offering command names as the next word of the command line? Are you sure you're not in a directory full of command files?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.