You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tab expansion of $ behaves a bit strangely. Mainly erasing characters instead of display matches. Matches are a little strange too.
We're using Set-PSReadlineKeyHandler -Key Tab -Function Complete
$env TAB = $
$env TAB TAB = list of all $env variables (without prepending $)
$env:computer TAB = completes correctly (that is, if it is unique enough and matches one)
On a similar note:
$ TAB TAB = list of all $ variables (including everything under $env:) (without prepending $ or some (but not all) post pending : )
I would like to add that doing
$env:P TAB = List of posibilities but clears the $env:P to $
$env:Pa TAB = Correct list of possibilities: Path PATHEXT and does not clear the $env:Pa
$env:Pat TAB = Completes to the only posibility $env:Path
Activity
pecigonzalo commentedon Nov 15, 2015
Similar to : #126
I would like to add that doing$env:P to $
$env:P TAB = List of posibilities but clears the
$env:Pa TAB = Correct list of possibilities: Path PATHEXT and does not clear the $env:Pa
$env:Pat TAB = Completes to the only posibility $env:Path
lzybkr commentedon Nov 12, 2017
I think this was fixed in #515 - at any rate, it doesn't repro anymore.