Skip to content

fix: start container terminal from container home#98

Merged
ranfdev merged 1 commit intoranfdev:mainfrom
saschabuehrle:fix/issue-96
Apr 11, 2026
Merged

fix: start container terminal from container home#98
ranfdev merged 1 commit intoranfdev:mainfrom
saschabuehrle:fix/issue-96

Conversation

@saschabuehrle
Copy link
Copy Markdown
Contributor

Fixes #96

distrobox enter was preserving the host cwd, which lands in the wrong place when the container uses a different home path. This adds --no-workdir so terminal sessions start from the container default location.

Greetings, saschabuehrle

@ranfdev
Copy link
Copy Markdown
Owner

ranfdev commented Apr 11, 2026

Hey, thanks! Makes sense to have this in DistroShelf

@ranfdev ranfdev merged commit 5476706 into ranfdev:main Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terminal defaults to host home directory instead of container's

2 participants