Skip to content

Support for functions autocomplete in PowerShell #1122

@konopkap

Description

@konopkap

Request

By design Powershell aliases (created with Set-Alias does not support commands with arguments (e.g. git switch). It is required to create a function for that:

function gsw { 
    git switch $args
}

However with such a definition carapace autocompletion does not work for alias gsw - it will only work for full name of git switch.

Proposed solution

Support for functions autocompletion would make carapace more useful with use of powershell aliases. Or maybe there's some configuration to already do it - but I missed to find it.

Anything else?

No response

Polar

Fund with Polar

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfundFundable with polar.sh

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions