1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-30 05:13:30 +00:00
starship/docs/zh-TW/guide
2020-11-28 23:45:59 -05:00
..
README.md docs(i18n): New Crowdin updates (#1788) 2020-11-28 23:45:59 -05:00

Starship – Cross-shell prompt

GitHub Actions workflow status Crates.io version Packaging status
在 Discord 上聊天 Follow @StarshipPrompt on Twitter

Website · Installation · Configuration

English   日本語   繁體中文   Русский   Deutsch   简体中文   Español   Français

Starship with iTerm2 and the Snazzy theme

The minimal, blazing-fast, and infinitely customizable prompt for any shell!

  • Fast: it's fast really really fast! 🚀
  • Customizable: configure every aspect of your prompt.
  • Universal: works on any shell, on any operating system.
  • Intelligent: shows relevant information at a glance.
  • Feature rich: support for all your favorite tools.
  • Easy: quick to install  start using it in minutes.

Explore the Starship docs  ▶

🚀 安裝

先決要求

入門

  1. 安裝 starship 執行檔:

    Install Latest Version

    From prebuilt binary, with Shell:
    curl -fsSL https://starship.rs/install.sh | bash
    
    From source on crates.io:
    cargo install starship
    

    Install via Package Manager

    With Homebrew:
    brew install starship
    
    With Scoop:
    scoop install starship
    
  2. 將初始化腳本 (script) 加入你的 shell 的設定檔:

    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

    Add the following to the end of Microsoft.PowerShell_profile.ps1. You can check the location of this file by querying the $PROFILE variable in PowerShell. Typically the path is ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 or ~/.config/powershell/Microsoft.PowerShell_profile.ps1 on -Nix.

    Invoke-Expression (&starship init powershell)
    

    Ion

    Add the following to the end of ~/.config/ion/initrc:

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

🤝 貢獻

我們歡迎具有各式各樣能力的貢獻者! 如果你正在尋找容易加入的方法,試試看標註為「good first issue」的 issue。

如果你對貢獻 Starship 有興趣,請看我們的 貢獻指南 。 另外,請不用客氣加入我們的 Discord 伺服器 並來問候一下。 👋

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

💭 發想來自

請看之前這些幫助我們創造 Starship 的前任作品。 🙏


Starship rocket icon

📝 許可

Copyright © 2019-present, Starship Contributors.
這個專案使用 ISC 許可。