1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-28 04:23:29 +00:00
starship/docs/ja-JP/README.md

2.7 KiB

home heroImage actionText actionLink footer
true /logo.svg Get Started → /ja-JP/guide/ ISC Licensed | Copyright © 2019-present Starship Contributors

互換性優先

一般的なほとんどのOSの一般的なほとんどのシェル上で動作します。 あらゆるところで使用してください!

Rust 製

Rust の最高レベルの速度と安全性を用いることで、可能な限り高速かつ信頼性を高くしています。

カスタマイズ可能

それぞれの細かい点は好みにカスタマイズが出来るため、ミニマルにも多機能にも好きなようにプロンプトを設定することができます。

クイックインストール

  1. Starship のバイナリをインストール

    もし以下のプラットフォームを使用していない場合は コンパイル済みのバイナリファイルをダウンロード してください。

    Homebrew

    $ brew install starship
    

    Rust (v1.38 もしくはそれ以上)

    $ cargo install starship
    

    Arch Linux (AUR)

    Starship は AUR 上の starship というパッケージ名で利用可能です。 yay またはお好きな AUR ヘルパーでインストールしてください。

    $ yay -S starship
    

    Nix (unstable)

    $ nix-env --install starship
    

    Termux

    $ pkg install starship
    
  2. 初期化のためのスクリプトをシェルの設定ファイルに追加

    Bash

    ~/.bashrc の最後に以下を追記してください

    # ~/.bashrc
    
    eval "$(starship init bash)"
    

    Fish

    ~/.config/fish/config.fish の最後に以下を追記してください

    # ~/.config/fish/config.fish
    
    starship init fish | source
    

    Zsh

    ~/.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)