When using tab completion, I keep getting suggestions for .svn files, so, using ls, my output looks like this:
[spaceplace]$ ls src/
main/ .svn/ 
[spaceplace]$ ls src/
main/ .svn/ 
[spaceplace]$ ls src/
main/ .svn/ 
[spaceplace]$ ls src/main/
java/      resources/ .svn/      
[spaceplace]$ ls src/main/
java/      resources/ .svn/   
The .svn files don't show up when I just use ls, so I don't know why they show up when I use tab complete.  The issue only seems to exist with the .svn files and no other hidden files, which seems weird.  How can I get these files to not show up when I am using tab complete?
I found out a way to do it; in my .bashrc I added the line bind 'set match-hidden-files off'.  Now all the files beginning with "." don't show up unless you explicitly specify it. 
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With