PowerShell
(1)
MSFT
(1)
BTW
(1)
AED
(1)
DE
(1)
Completion
(1)
Bruce
(1)
Microsoft
(1)

Relative Path Completion

Asked By Ben Kittrel
02-May-07 05:00 PM
I know this sounds trivial, but the way PowerShell expands to a full path
when using tab completion really annoys me.  Is there a way to configure it
to us relative path completion, like cmd?

For example if I'm in c:\data and type 'cd pro<TAB>', I want it to say 'cd
projects', rather than 'cd C:\data\projects'.

Based on user feedback, we're calling the current behaviour a bug and are

Asked By Bruce Payette [MSFT]
03-May-07 09:06 PM
Based on user feedback, we're calling the current behaviour a bug and are
(hopefully) going to fix it in the next release. (As always, disclaimers
involving scheduling apply :-)

-bruce

--
Bruce Payette [MSFT]
Windows PowerShell Technical Lead
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

Very cool, thank you.BTW, I am very much enjoying your book.

Asked By BenKittrel
03-May-07 10:58 PM
Very cool, thank you.

BTW, I am very much enjoying your book.  Keep on keepin on.

Mark,I thought the same thing, but it would be a trade off.

Asked By BenKittrel
04-May-07 11:54 AM
Mark,

I thought the same thing, but it would be a trade off.  This would interfere
with the current functionality where you can tab through the other filenames.


It's hard to say which is better.  I prefer the more bash-esque method,
because it's what I'm used to.

-Ben
Mark,I'm sorry, I thought you meant that if you hit tab to complete, and then
Asked By BenKittrel
04-May-07 12:24 PM
Mark,

I'm sorry, I thought you meant that if you hit tab to complete, and then hit
tab again it would add the slash and move one level deeper.

If it added the slash, but if you continued to tab it would cycle through
the elements in the directory like it does now, that would be incredible.

-Ben
Post Question To EggHeadCafe