Linux.com

Author Message
Joined: Aug 22, 2007
Posts: 2
Other Topics
Posted Aug 22, 2007 at 4:16:23 PM
Subject: autocomplete

Just a quick question that I hope someonecan help me with,

When you use autocomplete in a shell, it usually completes the word and then displays a list of the directories/files that you could possibly want to access.
Somehow I seemed to have turned off the ability to display these files. Does anyone know how to get this back?

Thanks.

Back to top Profile Email Website
Joe Barr
Joined Jan 01, 1970
Posts: 146
Location:Central Tejas

Other Topics
Posted: Sep 11, 2007 1:47:42 PM
Subject: autocomplete

It doesn't behave as you describe in bash. If I enter loc, for example, it doesn't complete the word, it merely lists the possible commands that could be completed starting with those 3 letters. If I enter lockf, so that only a single command is possible to complete, it does that and nothing else.

Joe Barr/K1GPL
Corporal-for-life
Linux Liberation Army

Back to top Profile Email Website

Joined Aug 08, 2008
Posts: 241

Other Topics
Posted: Mar 18, 2008 10:08:18 PM
Subject: autocomplete

thanks you Joe.

Back to top Profile Email
Anthony Robbins

Joined May 06, 2008
Posts: 22

Other Topics
Posted: May 15, 2008 6:39:01 PM
Subject: autocomplete

wit the exception that if there is locaa locab locac then lo<tab> will display 'loca' and an other (double) <tab> will display these three files.
also if it's the beginning of a line it wont complete anything that's not executable (and in the path or with the path explicitly given) so using the above example ls lo<tab> will expand to ls loca, but lo<tab> in itself will not do anything unless those three files are executable and in the path. ./lo<tab> will expand to ./loca if they're executable but not otherwise.

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya