Replies: 1 comment
|
Turns out it is my problem, closing. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is not exactly a distrobox issue, but here goes:
Debian images use the dash shell by default, and so
/bin/shpoints to/bin/dash.When you export an
app/binfrom a Debian distrobox, the command uses/bin/shby default, and in this case the dash shell.Since dash shell does not source
.bashrc, any customization you have in there is lost when you launch the application. I have to manually change the shell in exported distrobox app/bin to/bin/bashto fix this.Example:
The default
.bashrcin Fedora add.local/bin(where you put binaries for the local user) toPATH. Also I use asdf and need to source it in.bashrc. All of these are ignored by the VSCode I exported from the distrobox, so it cannot find my Java/Node/Python/etc inPATH. Things work correctly after I manually change/bin/shto/bin/bashin the application entry (or the launch script if exported asbin).All reactions