elementary / elementary/code

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

Ouverte
#1,723 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Vala
Étoiles
521
Forks
118
Merge moyen
1 j 8 h
PR mergées (30 j)
14

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.