mardi 24 mars 2015

Bash autocomplete: does not list files or directories


In my bash terminal, I would usually press tab twice to get the file and folder list. For instance cat [TAB][TAB] would list all files and folders in the present directory and cd Proj[TAB][TAB] would list all the directories starting with "Proj".


I do not see this behaviour (of listing files and directories on double [TAB] on a new machine (where I do not have root access). Instead double [TAB] and subsequent [TAB]s cycles through the list of files or directories. This is problematic because there are a lot of files in the directory and directory structure is very deep; thus, I can not use ls to list files every time.



Aucun commentaire:

Enregistrer un commentaire