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

Prerequisiti

  • Un Nerd Font installato e abilitato nel tuo terminale.

Installazione Veloce

  1. Installa il binario starship:

    Installa l'ultima Versione

    Con Shell:

    curl -sS https://starship.rs/install.sh <unk> sh
    

    Per aggiornare Starship stesso, riavviare lo script sopra. Sostituirà la versione corrente senza toccare la configurazione di Starship.

    Installa via Package Manager

    Con Homebrew:

    brew install starship
    

    With Winget:

    winget install starship
    
  2. Aggiungi lo script di inizializzazione al file di configurazione della shell:

    Bash

    Aggiungi quanto segue alla fine di ~/.bashrc:

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

    Fish

    Aggiungi quanto segue alla fine di ~/.config/fish/config.fish:

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

    Zsh

    Aggiungi quanto segue alla fine di ~/.zshrc:

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

    PowerShell

    Aggiungi quanto segue alla fine di Microsoft.PowerShell_profile.ps1. Puoi controllare la posizione di questo file interrogando la variabile $PROFILE in PowerShell. Tipicamente il percorso è ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 oppure ~/.config/powershell/Microsoft.PowerShell_profile.ps1 su -Nix.

    Invoke-Expression (&starship init powershell)
    

    Ion

    Aggiungi quanto segue alla fine di ~/.config/ion/initrc:

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

    Elvish

    Only elvish v0.18 or higher is supported.

    Add the following to the end of ~/.config/elvish/rc.elv (%AppData%\elvish\rc.elv on Windows):

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

    For elvish versions prior to v0.21.0 the config file might instead be ~/.elvish/rc.elv

    Tcsh

    Aggiungi quanto segue alla fine di ~/.tcshrc:

    # ~/.tcshrc
    
    eval `starship init tcsh`
    

    Nushell

    This will change in the future.

    Only Nushell v0.96+ is supported.

    Add the following to the end of your Nushell configuration (find it by running $nu.config-path in Nushell):

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

    Xonsh

    Aggiungi quanto segue alla fine di ~/.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"))()