Skip to content

wt remove should probably preserve the current working directory #3343

Description

@caillou

When switching, wt preserves the current working directory.
When removing, wt does not preserve it.

~/repos/foo/some/working/directory $ wt swtich -c x
~/repos/foo.x/some/working/directory $ wt remove
~/repos/foo $

Reasoning

I work in a sub-tree of a massive mono-repo. Every time I wt remove, I have to cd back into that sub-directory.

I am not certain this is what everybody needs. Maybe this should be configurable?

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