Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The handling of [ is awkward in general #875

@davxiao

Description

@davxiao

On IRC dhs227 notes:

If I press F1 it generate [[A, then press enter. fish complains fish: Tokenizer error: “Unexpected end of string, parenthesis do not match”
the problems are: a) it complain twice.
b) it does not clear the cmd line, which I think it should be.
c) in this case,fish likely "eats" the latest cmd line somehow.

Obfuscate also notes that:
That seems like a bug. The handling of [ is awkward in general as well: [[ errors, [[ errors, [[ is an ordinary token, as is [[.

Above all are reproduced on 20130606 build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions