Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .