文件最后提交记录最后更新时间
3 个月前
3 个月前
3 个月前
3 个月前
3 个月前
3 个月前
3 个月前
3 个月前
README

Вимоги

  • A Встановлений та увімкнений шрифт Nerd Font у вашому терміналі.

Швидке встановлення

  1. Встановіть starship:

    Встановлення останньої версії

    З оболонки:

    curl -sS https://starship.rs/install.sh | sh
    

    Для оновлення Starship перезапустіть команду вказану вище. Це допоможе замінити поточну версію не чіпаючи налаштувань Starship.

    Встановлення за допомогою пакетних менеджерів

    Homebrew:

    brew install starship
    

    Winget:

    winget install starship
    
  2. Додайте init скрипт до конфігураційного файлу оболонки:

    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

    Додайте наступний рядок наприкінці ~/.config/ion/initrc:

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

    Elvish

    Підтримується лише elvish v0.18 або новішої версії.

    Додайте наступне до кінця ~/.config/elvish/rc.elv (%AppData%\elvish\rc.elv у Windows):

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

    Для версії elvish до v0.21.0 файл конфігурації може бути ~/.elvish/rc.elv натомість

    Tcsh

    Додайте наступний рядок наприкінці ~/.tcshrc:

    # ~/.tcshrc
    
    eval `starship init tcsh`
    

    Nushell

    > This will change in the future.

    Only Nushell v0.96+ is supported.

    Додайте наступний рядок наприкінці налаштувань Nushell (знайдіть її за допомоги $nu.config-path в Nushell):

    mkdir ($nu.data-dir | path join "vendor/autoload")
    starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
    

    Xonsh

    Додайте наступний рядок наприкінці ~/.xonshrc:

    # ~/.xonshrc
    
    execx($(starship init xonsh))
    

    Cmd

    You need to use Clink (v1.2.30+) with Cmd. Add the following to a file starship.lua and place this file in Clink scripts directory:

    -- starship.lua
    
    load(io.popen('starship init cmd'):read("*a"))()