1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-01 09:13:54 +00:00
starship/docs
Thomas O'Donnell 055986e2b1
feat(python): Add option to change the python binary (#1297)
* Add option to change the python binary

We are going to start to have problems with the python binary as python2
is removed and replaced with python3. To make the transition easier I
have added an option to the python module to allow the user to pick a
particular binary, e.g `python3`, for the module to use when selecting
the version of python. I have also refactored the python tests moving
almost all of them into the module and removing the dependency on the
version of python that is installed on the system.

* Add advanced config section to python module docs

Have added an advanced config section to the python module docs and
moved the `python_binary` option into that section.
2020-06-14 11:27:10 +02:00
..
.vuepress docs: remove grayscale 2020-06-06 10:51:48 -04:00
advanced-config docs: Add extra newlines around custom containers 2019-09-28 20:20:18 +09:00
config feat(python): Add option to change the python binary (#1297) 2020-06-14 11:27:10 +02:00
de-DE docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
es-ES docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
faq docs: fix example Starship implementation in bash 2020-05-19 20:26:44 -04:00
fr-FR docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
guide docs: Add vuepress with initial docs (#99) 2019-07-19 16:18:52 -04:00
ja-JP docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
presets feat(nim): Add Nim module (#1189) 2020-06-09 19:14:47 +02:00
pt-BR docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
pt-PT docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
ru-RU docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
zh-CN docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
zh-TW docs(i18n): new Crowdin translations (#1262) 2020-06-10 21:28:04 -04:00
package-lock.json build(deps-dev): bump @vuepress/plugin-google-analytics in /docs (#1308) 2020-06-10 12:30:22 -04:00
package.json build(deps-dev): bump @vuepress/plugin-google-analytics in /docs (#1308) 2020-06-10 12:30:22 -04:00
README.md revert: "docs: add Netlify link to footer" 2020-02-22 12:57:49 -05:00

home heroImage heroText tagline actionText actionLink features footer metaTitle description
true /logo.svg null The minimal, blazing-fast, and infinitely customizable prompt for any shell! Get Started → ./guide/
title details
Compatibility First Works on the most common shells on the most common operating systems. Use it everywhere!
title details
Rust-Powered Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible.
title details
Customizable Every little detail is customizable to your liking, to make this prompt as minimal or feature-rich as you'd like it to be.
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.

Quick Install

  1. Install the starship binary:

    Install Latest Version

    With Shell:

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

    Install via Package Manager

    With Homebrew:

    brew install starship
    

    With Scoop:

    scoop install starship
    
  2. Add the init script to your shell's config file:

    Bash

    Add the following to the end of ~/.bashrc:

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

    Fish

    Add the following to the end of ~/.config/fish/config.fish:

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

    Zsh

    Add the following to the end of ~/.zshrc:

    # ~/.zshrc
    
    eval "$(starship init zsh)"
    

    Powershell

    Add the following to the end of ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 (or ~/.config/powershell/Microsoft.PowerShell_profile.ps1 on -Nix):

    # ~\Documents\PowerShell\Profile.ps1
    
    Invoke-Expression (&starship init powershell)
    

    Ion

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

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