Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-17-2005, 03:15 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
Tab autocomplete like windows shell?

Hi all,

I've been googling for this answer on and off for a few days.

Bash and perhaps all the other shells, autocomplete by listing all possibilities if there are any ambiguities.

But I want something like this :

say a directory has "a","abc","abcd","abcde".

1 user@somewhere:/ a <tab>

2 user@somewhere:/ ab <tab>

3 user@somewhere:/ abc <tab>

4 user@somewhere:/ abcd <tab>

5 user@somewhere:/ abcde <tab>

6 user@somewhere:/ a <tab>

i'm wondering there's any patch to bash or alternative shell that does what window shell autocomplete does ? That is, for each tab, show the next match. (cycling thru all the possibilities)
Old 04-17-2005, 03:18 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Just hit tab twice and it will show a list of possibilities.
Old 04-17-2005, 10:25 PM   #3
LQ Newbie
Registered: Dec 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for the reply. but i know about that behaviour but would like to let the computer go thru each match instead of completing until where ambiguity strikes. and i have to fill in the rest (which might be several characters long).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 03:06 PM
Switching window focus (like alt+tab in windows) and Ctrl+Alt+F1 X windows problem... DiZASTiX Linux - Software 3 01-20-2005 05:56 PM
Minimizing full screen games (like alt-tab in Windows) striderstrahan Linux - Games 1 11-24-2004 11:55 PM
Tab key function on tcsh shell and redhat 8.0 jeff_lim1974 Linux - General 0 06-21-2004 05:43 AM
hotkey to open new shell tab in KDE? Yohhan Linux - Software 2 05-01-2004 03:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration