1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-07 12:52:00 +00:00
starship/docs/ja-JP/README.md
2020-01-15 12:23:25 -05:00

2.5 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 のバイナリをインストール

    最新版のインストール

    Shellを利用する

    curl -fsSL https://starship.rs/install.sh | bash
    

    パッケージマネージャー経由でインストール

    Homebrew の場合:

    brew install starship
    

    Scoop の場合:

    scoop 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)
    

    Ion

    ~/.config/ion/initrc の最後に次を追加してください

    # ~/.config/ion/initrc
    
    eval $(starship init ion)