8000 caret positioned incorrectly or not shown in errors expanding in command position · Issue #5812 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

caret positioned incorrectly or not shown in errors expanding in command position #5812

@floam

Description

@floam

This happens when the expansion happens in a command position:

$ if $,asd
fish: $, is not a valid variable in fish.
if $,asd
 ^
$ command $,asd
fish: $, is not a valid variable in fish.
command $,asd
 ^

No carat at all is shown here, but one should be shown.

$ command (asd)
fish: Command substitutions not allowed

Metadata

Metadata

Assignees

Labels

bugSomething that's not working as intended

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0