starship/docs/ja-JP/README.md

3.6 KiB

home heroImage heroText tagline actionText actionLink features footer metaTitle description
true /logo.svg シェル用の最小限の、非常に高速で、無限にカスタマイズ可能なプロンプトです! Get Started → ./guide/
title details
互換性優先 一般的なほとんどのOSの一般的なほとんどのシェル上で動作します。 あらゆるところで使用してください!
title details
Rust 製 Rust の最高レベルの速度と安全性を用いることで、可能な限り高速かつ信頼性を高くしています。
title details
カスタマイズ可能 それぞれの細かい点は好みにカスタマイズが出来るため、ミニマルにも多機能にも好きなようにプロンプトを設定することができます。
ISC Licensed | Copyright © 2019-present Starship Contributors Starship: Cross-Shell Prompt Starship はミニマルで、非常に高速で、カスタマイズ性の高い、あらゆるシェルのためのプロンプトです! ミニマルかつ洗練された形で、あなたに必要な情報を表示します。 Bash, Fish, ZSH, Ion, PowerShellへ簡単にインストール出来ます。

必要なもの

  • A Nerd Font installed and enabled in your terminal.

クイックインストール

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

    最新版のインストール

    Shellを利用する

    sh -c "$(curl -fsSL https://starship.rs/install.sh)"
    

    To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.

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

    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

    Microsoft.PowerShell_profile.ps1 の最後に以下を追記してください。 PowerShell 上で $PROFILE 変数を問い合わせると、ファイルの場所を確認できます。 通常、パスは ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 または -Nix 上では ~/.config/powershell/Microsoft.PowerShell_profile.ps1 です。

    Invoke-Expression (&starship init powershell)
    

    Ion

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

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

    Elvish

    ::: warning Only elvish v0.15 or higher is supported. :::

    ~/.elvish/rc.elv の最後に以下を追記してください。

    # ~/.elvish/rc.elv
    
    eval (starship init elvish)
    

    Tcsh

    ~/.tcshrc の最後に以下を追加します:

    # ~/.tcshrc
    
    eval `starship init tcsh`