elementary / elementary/code

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

Open
#1,723 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.