flathub-infra / ide-flatpak-wrapper

Wrapper for setting up development environment in flatpak sandbox
MIT License
14 stars 12 forks source link

Add a bashrc with a PS1 to improve the flatpak shell #21

Open Job79 opened 9 months ago

Job79 commented 9 months ago

The shell inside flatpak uses the default prompt: sh-5.2$. This prompt doesn't contain the working directory, which makes it difficult to use. This gives a bad first impression to the user when they are starting to use extension SDKs.

This pull requests adds a bashrc that sets the shell prompt to [📦 \w]\$.

Related issue: https://github.com/flathub/com.jetbrains.IntelliJ-IDEA-Ultimate/issues/169