Skip to content

Windows WSL Ubuntu opening PowerShell doesn't have autocomplete #2990

@J0rdyV

Description

@J0rdyV

I configured my ubuntu terminal in ~/.bash_aliases with

alias powershell="/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe"

So that when i'm in a folder an quickly want to execute a PowerShell command, i can do so with just typing powershell, and a it opens inside the folder.

This works perfectly, commands also execute like i want, no problems there.
But i don't have autocomplete.
Also arrow up, for last commands doesn't work.
Autocomplete is enabled in ~/.bashrc and works for linux commands.

Is this issue because i'm opening it from bash?
Or can i configure this option somewhere so powershell opens in a different mode when i can use the arrow keys, autocomplete, ...

First time opening a ticket ever,
so please say so if i did something wrong/didn't give enough info
😄

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