Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#1,723 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
bash
领域
cli, desktop

调研方向

首先在 Flatpak Code 的终端窗格中重现提示符差异,并将其与 Terminal 应用和原生 Code 应用进行比较。检查如何处理来自 etc/skel/.bashrc 和 ~/.bashrc 的环境;当 Flatpak 提示符与用户配置的 PS1 匹配时即表示完成。

由索引模型根据 Issue 内容生成。

描述

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

Hardware Info

No response

主要语言
Vala
星标
521
派生
119
平均合并
1 天 7 小时
30 天内合并 PR
13

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

elementary/code 的其他 Issue

查看 elementary/code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。