Skip to content

Zoxide does not correctly replicate cd -P behavior #1127

@PokumeKachi

Description

@PokumeKachi

Suppose you have one directory and one symlink as following:

~ $ mkdir target
~ $ ln -s target link

This would be the output when you run cd -P.

~ $ cd -P link
~/target $

However when you run zoxide with the -P argument, it throws an error instead.

~ $ z -P link
zoxide: no match found

Even if this was an intended feature, I think it could throw off new users switching to Zoxide.

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