Files
starship/docs/it-IT/README.md
T

193 lines
4.2 KiB
Markdown
Raw Normal View History

2021-01-03 03:56:07 -05:00
---
2024-03-03 17:55:30 +01:00
layout: home
hero:
image: /logo.svg
2024-03-21 20:42:05 +09:00
text:
2024-03-03 17:55:30 +01:00
tagline: Il prompt minimalista, super veloce e infinitamente personalizzabile per qualsiasi shell!
actions:
2024-03-21 20:42:05 +09:00
-
theme: brand
2024-03-03 17:55:30 +01:00
text: Inizia →
link: ./guide/
2021-01-03 03:56:07 -05:00
features:
2024-03-21 20:42:05 +09:00
-
2021-01-03 03:56:07 -05:00
title: Prima la compatibilità
details: Funziona sulle shell e sui sistemi operativi più comuni. Usalo ovunque!
2024-03-21 20:42:05 +09:00
-
2022-08-14 15:31:27 -04:00
title: Scritto in Rust
details: Sfrutta la velocità e sicurezza di Rust, per rendere il tuo prompt il più veloce e il più affidabile.
2024-03-21 20:42:05 +09:00
-
2021-01-03 03:56:07 -05:00
title: Personalizzabile
2022-08-14 15:31:27 -04:00
details: Ogni più piccolo dettaglio è personalizzabile a piacere, per rendere questo prompt minimalista o ricco di tutte le funzionalità che desideri.
2021-01-03 03:56:07 -05:00
footer: Licenza ISC | Copyright © 2019-present Starship Collaboratori
#Used for the description meta tag, for SEO
metaTitle: "Starship: Cross-Shell Prompt"
2022-01-15 17:08:31 -05:00
description: Starship è il prompt minimalista, super veloce ed estremamente personalizzabile per qualsiasi shell! Mostra le informazioni di cui hai bisogno, rimanendo elegante e minimale. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and PowerShell.
2021-01-03 03:56:07 -05:00
---
2024-03-21 20:42:05 +09:00
<video class="demo-video" muted autoplay loop playsinline>
<source src="/demo.webm" type="video/webm">
<source src="/demo.mp4" type="video/mp4">
</video>
2021-01-03 03:56:07 -05:00
2021-04-22 17:12:09 -04:00
### Prerequisiti
2021-06-20 14:10:36 -04:00
- Un [ Nerd Font ](https://www.nerdfonts.com/) installato e abilitato nel tuo terminale.
2021-04-22 17:12:09 -04:00
2021-05-01 14:20:08 -04:00
### Installazione Veloce
2021-01-03 03:56:07 -05:00
1. Installa il binario **starship**:
#### Installa l'ultima Versione
Con Shell:
```sh
2022-03-08 21:11:36 -05:00
curl -sS https://starship.rs/install.sh | sh
2021-01-03 03:56:07 -05:00
```
2022-03-08 21:11:36 -05:00
2021-06-20 14:10:36 -04:00
Per aggiornare Starship stesso, riavviare lo script sopra. Sostituirà la versione corrente senza toccare la configurazione di Starship.
2021-01-03 03:56:07 -05:00
2022-03-24 15:47:11 -05:00
#### Installa via Package Manager
2021-01-03 03:56:07 -05:00
2021-04-08 11:52:32 -04:00
Con [Homebrew](https://brew.sh/):
2021-01-03 03:56:07 -05:00
```sh
brew install starship
```
2024-03-21 20:42:05 +09:00
2022-10-14 21:53:32 -04:00
With [Winget](https://github.com/microsoft/winget-cli):
2021-01-03 03:56:07 -05:00
```powershell
2022-10-14 21:53:32 -04:00
winget install starship
2021-01-03 03:56:07 -05:00
```
1. Aggiungi lo script di inizializzazione al file di configurazione della shell:
#### Bash
Aggiungi quanto segue alla fine di `~/.bashrc`:
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
Aggiungi quanto segue alla fine di `~/.config/fish/config.fish`:
```sh
# ~/.config/fish/config.fish
starship init fish | source
```
#### Zsh
Aggiungi quanto segue alla fine di `~/.zshrc`:
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
#### Powershell
2022-03-24 15:47:11 -05:00
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.
2021-01-03 03:56:07 -05:00
```sh
Invoke-Expression (&starship init powershell)
```
#### Ion
Aggiungi quanto segue alla fine di `~/.config/ion/initrc`:
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```
2021-02-06 12:46:15 -05:00
2021-08-14 09:24:51 -04:00
2021-02-06 12:46:15 -05:00
#### Elvish
2022-05-24 17:19:44 -04:00
::: warning
Only elvish v0.18 or higher is supported.
:::
2021-02-06 12:46:15 -05:00
2021-02-21 14:13:18 -05:00
Aggiungi quanto segue alla fine di `~/.elvish/rc.elv`:
2021-02-06 12:46:15 -05:00
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
2021-03-15 13:18:42 -04:00
#### Tcsh
Aggiungi quanto segue alla fine di `~/.tcshrc`:
```sh
# ~/.tcshrc
eval `starship init tcsh`
```
2021-07-10 17:15:23 -04:00
2021-08-14 09:24:51 -04:00
#### Nushell
2021-07-10 17:15:23 -04:00
2022-05-24 17:19:44 -04:00
::: warning
2023-07-30 09:29:01 -04:00
This will change in the future. Only Nushell v0.78+ is supported.
2022-05-24 17:19:44 -04:00
:::
2023-02-01 01:14:38 +09:00
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
2024-03-21 20:42:05 +09:00
2022-03-24 15:47:11 -05:00
```sh
mkdir ~/.cache/starship
2023-02-01 01:14:38 +09:00
starship init nu | save -f ~/.cache/starship/init.nu
2021-07-10 17:15:23 -04:00
```
2021-08-14 09:24:51 -04:00
2022-03-24 15:47:11 -05:00
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
```sh
2023-07-30 09:29:01 -04:00
use ~/.cache/starship/init.nu
2022-03-24 15:47:11 -05:00
```
2021-08-14 09:24:51 -04:00
2023-07-30 09:29:01 -04:00
2021-08-14 09:24:51 -04:00
#### Xonsh
2021-09-21 09:36:29 -04:00
Aggiungi quanto segue alla fine di `~/.xonshrc`:
2021-08-14 09:24:51 -04:00
```sh
# ~/.xonshrc
execx($(starship init xonsh))
```
2022-01-15 17:08:31 -05:00
#### Cmd
You need to use [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) with Cmd. Add the following to a file `starship.lua` and place this file in Clink scripts directory:
```lua
-- starship.lua
load(io.popen('starship init cmd'):read("*a"))()
```