Replies: 1 comment
-
Turns out it is my problem, closing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is not exactly a distrobox issue, but here goes:
Debian images use the dash shell by default, and so
/bin/sh
points to/bin/dash
.When you export an
app
/bin
from a Debian distrobox, the command uses/bin/sh
by 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/bash
to fix this.Example:
The default
.bashrc
in 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/sh
to/bin/bash
in the application entry (or the launch script if exported asbin
).Beta Was this translation helpful? Give feedback.
All reactions