Skip to content

Ability to change yazi CWD from external process #891

@z0rc

Description

@z0rc

Please describe the problem you're trying to solve

Practical use case.

From yazi exec to shell, shell starts in the same dir as yazi cwd, in shell cd to other dir, exit shell, yazi should be in last cwd from shell.

Would you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

Some kind of protocol to allow external processes execute yazi commands. Might be a part of DDS.

Additional context

This isn't a unique feature. MC implements it natively, Ranger allows user to implement it via IPC and shell hook on exit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions