Skip to content

command word: non-executable file should be unknown-token #202

Closed
@danielshahaf

Description

@danielshahaf

The following:

touch foo
chmod 0644 foo
./foo

highlights ./foo as path, but should highlight it as unknown-token (unless there happens to be an alias or function literally called ./foo).

Note that we already call stat once (since ./does-not-exist is highlighted as unknown-token).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions