[GH-ISSUE #3497] root用户登录,shell提示符没有颜色 #2384

Closed
opened 2026-02-27 00:07:09 +03:00 by kerem · 1 comment
Owner

Originally created by @zzy-plus on GitHub (Jul 3, 2024).
Original GitHub issue: https://github.com/electerm/electerm/issues/3497

Electerm Version and download file extension(Electerm版本和下载文件后缀)

win-x64-installer.exe v1.39.68

Platform detail (平台详情)

windows 11

What steps will reproduce the bug?(重新问题的详细步骤)

如图所示,使用root用户时,shell提示符没有颜色,而切换到其它用户时有颜色。
image

What should have happened?(期望的结果)

希望使用root用户时,shell提示符也能有颜色和加粗效果,方便找到输入的命令

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

v1.39.68 及之前的版本都有这个问题

Additional information(其他任何相关信息)

Originally created by @zzy-plus on GitHub (Jul 3, 2024). Original GitHub issue: https://github.com/electerm/electerm/issues/3497 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) win-x64-installer.exe v1.39.68 ### Platform detail (平台详情) windows 11 ### What steps will reproduce the bug?(重新问题的详细步骤) 如图所示,使用root用户时,shell提示符没有颜色,而切换到其它用户时有颜色。 ![image](https://github.com/electerm/electerm/assets/95460854/d805c275-93e6-45d5-8cb0-5b0618406d1a) ### What should have happened?(期望的结果) 希望使用root用户时,shell提示符也能有颜色和加粗效果,方便找到输入的命令 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) v1.39.68 及之前的版本都有这个问题 ### Additional information(其他任何相关信息) 无
kerem 2026-02-27 00:07:09 +03:00
Author
Owner

@zxdong262 commented on GitHub (Feb 25, 2025):

跟.bashrc配置有关

<!-- gh-comment-id:2680744075 --> @zxdong262 commented on GitHub (Feb 25, 2025): 跟.bashrc配置有关
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2384
No description provided.