Skip to content

changeDirectory() doesn't work with Idris 2 #255

@memoryallocator

Description

@memoryallocator

The idris2's :cd command requires a quoted string, but the changeDirectory() function does not surround the dir variable with quotes. As a result of this, there are the errors:

Expected string begin.

(Interactive):1:5--1:6
 1 | :cd /home/demo/Documents/Idris2

More than that, if the directory path contains a quote (for example, /"tmp), the plugin hangs at Idris: opening REPL ....

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