|
RE: tab and variable I think by saying '<tab> works off the contents of your current location' is
correct, but the fact is the PS' tab-completion is worth more than that, I
believe you can enter:
hkcu:<tab>
without being in hkcu drive.
So PS is already pay attention to previous token, so by substition env.
variable, I don't know, maybe you are right, 'a bit too much'
"Andrew Webb" wrote:
> <tab> works off the contents of your current location. Expecting it to pay
> attention to the current contents of PowerShell variables is probably a bit
> much. I think it's really impressive that you can do this, though:-
> cd hkcu: <enter>
> cd <tab>, <tab>, <tab>, <tab>, <tab>,
> and have it iterate through the contents of the HKCU drive.
>
> I would say that the PowerShell team have gone far enough integrating with
> the current Cmd.exe-style window, and in future releases it would be nice to
> see them using their own windowed environment. What they have done thus far
> (e.g. the example above) is damn impressive as it is.
>
> Andrew Webb |