使用 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:

  • 在Ubuntu上部署OpenMAIC
  • AI工具大全
  • Fast DDS入门(On-Going)
  • NVIDIA GPU 架构:SP、SM 与 LSU 工作原理详解
  • al-folio 模板定制修改总结