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?
When switching,
wtpreserves the current working directory.When removing,
wtdoes not preserve it.Reasoning
I work in a sub-tree of a massive mono-repo. Every time I
wt remove, I have tocdback into that sub-directory.I am not certain this is what everybody needs. Maybe this should be configurable?