elementary / elementary/code

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

Đang mở
#1,723 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Vala
Star
521
Fork
118
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.