Windows command shell... any plugins for bash-like tab completion?

statik213

Golden Member
Oct 31, 2004
1,654
0
0
^^^ anything like that? Windows has tab completion only for file and folder names..... was wondering if there's anything out there that can do the same for program names.

 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
Think XP does this by default, but not as well as Linux.

Edit: Reread, you mean you want to have program jklasdf in your path, and be able to type jkl*tab* and have it complete the command? Or just tab completion, as in "cd C:\wi*tab* changes to "cd C:\Windows" when you hit the tab key?
 

ttown

Platinum Member
Oct 27, 2003
2,412
0
0
you could check out Windows Services for Unix 3.5

MS FREEBIE

or wait till tonight and I'll start-up my machine where I have it installed and let you know

edit: No bash file-name completion... But there is csh and ksh -- with their own conveniences at the command line. Plus a ton of other unix-like utilities -- vi, sed, awk, etc, etc, etc.
 

statik213

Golden Member
Oct 31, 2004
1,654
0
0
Originally posted by: nweaver
Think XP does this by default, but not as well as Linux.

Edit: Reread, you mean you want to have program jklasdf in your path, and be able to type jkl*tab* and have it complete the command? Or just tab completion, as in "cd C:\wi*tab* changes to "cd C:\Windows" when you hit the tab key?


i wan to be able to do note[tab] => notepad, if there are multiple matches, hit tab twice and see a list of alternatives... like bash.... was wondering if there's something like that for windows.
 

Czar

Lifer
Oct 9, 1999
28,510
0
0
the command promt has it

start / run / cmd

c:

cd pro <tab>

C:\>cd "Program Files"

 

Nithin

Senior member
Dec 31, 2002
961
0
76
tweakui gave me tab complete. but it doesn't give a list. it just completes to the first match i think
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Hmm, I always wanted to make bash completion work more like windows cmd.exe :confused: I hate how bash refuses to complete the word when there is a conflict, instead of completing and then cycling through them in order as you continue to tab. I guess the ideal might be completion of both local dir files and path commands (except when prefixed with ./ of course), and tab cycling like windows except when you tap twice quickly, then it can give you the bash style list of options?
 

EpsiIon

Platinum Member
Nov 26, 2000
2,351
1
0
Originally posted by: kamper
Hmm, I always wanted to make bash completion work more like windows cmd.exe :confused: I hate how bash refuses to complete the word when there is a conflict, instead of completing and then cycling through them in order as you continue to tab. I guess the ideal might be completion of both local dir files and path commands (except when prefixed with ./ of course), and tab cycling like windows except when you tap twice quickly, then it can give you the bash style list of options?

Interesting. I prefer bash's method because it gives me a list of ALL the choices (allowing me to more-easily see what's actually in the directory) and it's usually only one or two letter presses to get it to complete to the one I want (rather than many possible tabs).

Actually, I've been using cmd.exe a fair amount at work and... I hate it. Give me bash any day. :p
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Originally posted by: EpsiIon
Originally posted by: kamper
Hmm, I always wanted to make bash completion work more like windows cmd.exe :confused: I hate how bash refuses to complete the word when there is a conflict, instead of completing and then cycling through them in order as you continue to tab. I guess the ideal might be completion of both local dir files and path commands (except when prefixed with ./ of course), and tab cycling like windows except when you tap twice quickly, then it can give you the bash style list of options?

Interesting. I prefer bash's method because it gives me a list of ALL the choices (allowing me to more-easily see what's actually in the directory) and it's usually only one or two letter presses to get it to complete to the one I want (rather than many possible tabs).

Actually, I've been using cmd.exe a fair amount at work and... I hate it. Give me bash any day. :p
I'm thinking you can still get that list if you give tab the double-tap (in my ideal shell). Oh well, I guess that would probably annoy you when you try to cycle through quickly, windows style. Maybe it should just be configurable so you can pick which one you want.
 

juiio

Golden Member
Feb 28, 2000
1,433
4
81
Originally posted by: tfinch2
Originally posted by: Czar
the command promt has it

start / run / cmd

c:

cd pro <tab>

C:\>cd "Program Files"

uhh...it actually tabs...

Depends on what version of Windows you're on. XP and later have tab as command completion. If whatever version of Windows that oyu're running doesn't, then

[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"CompletionChar"=dword:00000009
"PathCompletionChar"=dword:00000009

is your friend.