Skip to content

wd point .. completes relative to current directory #51

Open
@ErsafanRend

Description

Thanks for this awesome tool. This is great work.
I'm using wd (0.4.6) on zsh (5.4.2) with oh-my-zsh.
When I have

~/wd ❯ tree
.
├── bla
│   └── blub
└── foo
    └── bar
        └── baz

and

~/wd ❯ wd
Warp points
baz   -- ~/wd/foo/bar/baz

and I want to complete wd baz ../<TAB>, I get

~/wd❯ cd bla
~/wd/bla❯ wd baz ../
directory
bla/  foo/

I would expect wd baz ../ to point to the parent directory of the warp point and not to the parent directory of the current working directory.

Is this intended behaviour?

Metadata

Assignees

No one assigned

    Labels

    BugHelp wantedNo maintainers know how to solve this issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions