Auto completion (using the Tab key) on the new Ubuntu 11.10

Posted by Shubhroe on Ask Ubuntu See other posts from Ask Ubuntu or by Shubhroe
Published on 2012-03-25T21:54:26Z Indexed on 2012/03/25 23:41 UTC
Read the original article Hit count: 262

Filed under:

Earlier, when I used tab to auto-complete filenames (using the tab key) and if the filenames contained blank spaces or certain special characters, the name would be listed with backslashes '\' thrown in so that it could work with a preceding command like ls or rm.

eg. Earlier if I had a file name called "The Four Seasons- Spring - Allegro.mp3" and this was the only file name starting with "The", when I typed "rm The" and Tab, it would complete itself to "rm The\ Four\ Seasons-\ Spring\ -\ Allegro.mp3" and I could subsequently press Enter and remove the file.

However, lately what happens when I press Tab is the following: "rm The Four Seasons- Spring - Allegro.mp3" and if I now press Enter, it returns a bunch of errors because it thinks I want to remove a bunch of files (named The, Four, etc.).

Does anyone else encounter the same problems and if yes, is there a good way to resolve this problem? Thanks!

© Ask Ubuntu or respective owner

Related posts about auto-completion