Skip to content

Tab expansion of $ #96

Closed
Closed

Description

@dresken

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 : )

Activity

  1. pecigonzalo commented on Nov 15, 2015

    @pecigonzalo

    Similar to : #126

    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

  2. lzybkr commented on Nov 12, 2017

    @lzybkr
    Contributor

    I think this was fixed in #515 - at any rate, it doesn't repro anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions