mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
2.8 KiB
2.8 KiB
home, heroImage, heroText, tagline, actionText, actionLink, features, footer, metaTitle, description
| home | heroImage | heroText | tagline | actionText | actionLink | features | footer | metaTitle | description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| true | /logo.svg | The cross-shell prompt for astronauts | Get Started → | ./guide/ |
|
ISC Licensed | Copyright © 2019-present Starship Contributors | Starship: Cross-Shell Prompt | Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, and Powershell. |
クイックインストール
-
Starship のバイナリをインストール
最新版のインストール
Shellを利用する
curl -fsSL https://starship.rs/install.sh | bashパッケージマネージャー経由でインストール
Homebrew の場合:
brew install starshipScoop の場合:
scoop install starship -
初期化のためのスクリプトをシェルの設定ファイルに追加
Bash
~/.bashrcの最後に以下を追記してください# ~/.bashrc eval "$(starship init bash)"Fish
~/.config/fish/config.fishの最後に以下を追記してください# ~/.config/fish/config.fish starship init fish | sourceZsh
~/.zshrcの最後に以下を追記してください# ~/.zshrc eval "$(starship init zsh)"Powershell
~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1(それか Nix上の~/.config/powershell/Microsoft.PowerShell_profile.ps1)の末尾に以下を追加してください。# ~\Documents\PowerShell\Profile.ps1 Invoke-Expression (&starship init powershell)Ion
~/.config/ion/initrcの最後に次を追加してください# ~/.config/ion/initrc eval $(starship init ion)