使用 Starship 定制Bash提示符
安装 Starship 并使能:
curl -sS https://starship.rs/install.sh | sh
# Bash导入
eval "$(starship init bash)"
添加配置文件,路径~/.config/starship.toml。备份文件starship.toml。
官方文档:Starship 配置。
Enjoy Reading This Article?
Here are some more articles you might like to read next: