-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
An example:
$ mv ~/Downloads/Attachments(2).zip .
Syntax error: × Failed to parse input
╰─▶ Failure to parse at Pos((1, 27))
╭────
1 │ mv ~/Downloads/Attachments(2).zip .
· ┬
· ╰── expected EOI, TILDE_PREFIX, AND_IF, OR_IF, Stdout, StdoutStderr, io_redirect, or separator_op
╰────
help: expected EOI, TILDE_PREFIX, AND_IF, OR_IF, Stdout, StdoutStderr,
io_redirect, or separator_op
The path was auto completed. The correct autocompletion should have been:
mv ~'/Downloads/Attachments(2).zip' .
Or something like that. I don't like the ~'xxx' style, but it's needed since ~ does not work inside ".
Or we could use " and only use ' for absolute paths on Windows.
Metadata
Metadata
Assignees
Labels
No labels