Flatpak version has different prompt in terminal pane than in Terminal app
还没有人认领这个 Issue。
评估
调研方向
首先在 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
elementary/code 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 65/100
elementary/code#1818 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
elementary/code#1813 · 2 条评论 ·
-
Needs Design Priority: Wishlist
难度 3/5 1-2 天 新手友好度 68/100
elementary/code#1786 · 3 条评论 ·
-
Needs Design Priority: Wishlist
难度 5/5 一周以上 新手友好度 45/100
elementary/code#1783 ·
-
Priority: Wishlist
难度 4/5 3-5 天 新手友好度 38/100
elementary/code#1762 · 3 条评论 ·
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
module: core
难度 2/5 1-3 小时 新手友好度 75/100
bigbluebutton/bigbluebutton#25849 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
vercel-labs/just-bash#464 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
area:sandbox documentation enhancement platform:linux
难度 1/5 1 小时以内 新手友好度 85/100
anthropics/claude-code#96664 ·