# Starship

两行的提示符：白色的框和名字，提示符是强调色，命令失败才用红。

- id: `starship`
- 运行在: macOS, Linux, Windows
- 安装: 一条命令
- 终端和命令行

## 安装

```sh
npx github:pseudoyu/poi-theme install starship
```

## 它会改什么

- `~/.config/poi/starship.toml`: 新文件

## 然后

- 它是一整份提示符配置，不只是颜色，所以不覆盖你的 starship.toml。要用它：在 shell 配置里加 export STARSHIP_CONFIG=~/.config/poi/starship.toml。

## 撤销

```sh
npx github:pseudoyu/poi-theme uninstall starship
```

把装进去的东西原样取出：新文件删掉，加的行和段拿掉，装之前就有的文件按 .pre-poi 备份还原。

## 在哪里检查过

- macOS (macOS 27): 同样的文件每天在用
- Linux (Arch Linux, KDE Plasma 6): 同样的文件每天在用

## 文件

- https://poi.pseudoyu.com/files/starship/machine/starship.toml
