Skip to content

"ivy-alt-done" can complete to non-existent directory #1494

@muirdm

Description

@muirdm

Starting with file tree:

[muir@work-mb root]$ find .
.
./foo
./foo/foo_file.rb
./bar
./bar/start
./bar/foo
  1. Open bar/start
  2. Run counsel-find-file
  3. Press backspace to go up to /
  4. Type "foo" then <C-j> to complete into foo/
  5. Type "foo" then <C-j> to attempt to open foo_file.rb

I expect it to open foo_file.rb since it is not a directory, but it navigates into non-existent foo/foo directory.

I reproduced using the plain make target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions