elementary / elementary/code

Flatpak version has different prompt in terminal pane than in Terminal app

Offen
#1,723 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Vala
Sterne
521
Forks
118
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
14

Beschreibung

### What Happened?

In the Terminal app (and the native Code app) the prompt is taken from the system environment variable `PS1` defined in `etc/skel/.bashrc` possible modified in `~/.bashrc`. However in the FlatPak app this variable defaults to `$FLATPAK_ID \W]\$` which is less helpful.

### Steps to Reproduce

Run Flatpak Code and look at terminal pane

### Expected Behavior

The prompt shown should match that set by the user in their `.bashrc` file.

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.