Startship 是一款 shell 美化工具。
安装
在 [[macOS]] 中使用 [[Homebrew]] 安装:
brew install starship如果是 [[Bash]],在 ~/.bashrc 加入以下语句:
eval "$(starship init zsh)"[[fish]] 在 ~/.config/fish/config.fish 加入以下语句:
starship init fish | source如果是 [[Zsh]],在 ~/.zshrc 加入以下语句:
eval "$(starship init zsh)"