如何更改提示颜色?
16lz
2021-01-22
I'm writing the following line in ~/.cshrc
我在〜/ .cshrc中写了以下这一行
set prompt="${green}${cwd} :- ${end} "
It sets the color to green but when I change the directory it automatically sets color to default.
它将颜色设置为绿色,但是当我更改目录时,它会自动将颜色设置为默认值。
1 个解决方案
#1
0
Looks like there are some changes related to cwd
, following should be used %~
看起来有一些与cwd相关的变化,下面应该使用%〜
You can check them here
你可以在这里查看
更多相关文章
- Linux无法连接网络解决方案
- Media-S 简介(一个开源的DRM解决方案)
- debain 系统 ll 命令无法使用.目录和文件没有颜色区分解决之道
- AppScan安全问题解决方案
- PLSQL乱码解决方案
- 数据库不支持中文解决方案(mysql)
- Mysql替代解决方案Cassandra
- 背景图像颜色检测与Android油漆。
- [置顶] Android屏幕适配解决方案