This is a known limitation. Powershell tab-completion works by using the
alternate end-of-line feature of the console subsystem just like cmd.exe. As
a consequence, it suffers from some of the same limitations. We're planning
to fix this in a future release.
-bruce
--
Bruce Payette [MSFT]
Windows PowerShell Technical Lead
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Visit the Windows PowerShell Team blog at:
http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:
http://www.microsoft.com/technet/scr.../hubs/msh.mspx
"OK" <OK@discussions.microsoft.com> wrote in message
news:3823BCA5-3D69-462D-8E50-B81AC04C03CF@microsoft.com...
>I don't quite understand how command completion works.
> Every time I bring previous command for editing, change something at the
> beginning of line and press TAB, it deletes the rest of the line!
> Is there a way to keep the rest of the line?
> Is it designed behavior or what? (bug or feature?)
>