Skip to content

Unable to highlight aliases that start with variables  #938

Open
@matan-h

Description

@matan-h

I get to this issue from bash-my-aws, which have this alias in it: alias buckets='${BMA_HOME:-$HOME/.bash-my-aws}/bin/bma buckets'.

The buckets alias works, and the autocomplete work fine, but for some reason it highlights it as not found.

There is superuser question about it.

Step to reproduce:

echo "echo run" > $HOME/run.sh
chmod +x ~/run.sh
alias run="\$HOME/run.sh"
run

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