Skip to content

Tilde expansion in REPL shell completion raises an error #11281

Closed
@dhoegh

Description

@dhoegh

When using tilde expansion then tabbing just after the tilde causes an error to be raised.

julia> "~<tab>
julia> "~WARNING: Caught an exception in the keymap:
ERROR: BoundsError
ERROR: syntax: incomplete: invalid string syntax

Another issue is the regex on

path = homedir() * path[2:end]
is not windows compatible. So using back slashes on windows do not work

julia> "~\\<tab>

This was introduced in #7617
CC @garborg

Metadata

Metadata

Assignees

No one assigned

    Labels

    REPLJulia's REPL (Read Eval Print Loop)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions