diff options
Diffstat (limited to 'docs/it-IT')
-rw-r--r-- | docs/it-IT/README.md | 6 | ||||
-rw-r--r-- | docs/it-IT/advanced-config/README.md | 39 | ||||
-rw-r--r-- | docs/it-IT/config/README.md | 432 | ||||
-rw-r--r-- | docs/it-IT/guide/README.md | 62 | ||||
-rw-r--r-- | docs/it-IT/installing/README.md | 32 | ||||
-rw-r--r-- | docs/it-IT/presets/README.md | 9 |
6 files changed, 348 insertions, 232 deletions
diff --git a/docs/it-IT/README.md b/docs/it-IT/README.md index 3c3fc90bb..5c0741759 100644 --- a/docs/it-IT/README.md +++ b/docs/it-IT/README.md @@ -18,7 +18,7 @@ features: footer: Licenza ISC | Copyright © 2019-present Starship Collaboratori #Used for the description meta tag, for SEO metaTitle: "Starship: Cross-Shell Prompt" -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, and PowerShell. +description: Starship è il prompt minimalista, super veloce ed estremamente personalizzabile per qualsiasi shell! Mostra le informazioni di cui hai bisogno, rimanendo elegante e minimale. Installazione rapida disponibile per Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh e PowerShell. --- <div class="center"> @@ -143,7 +143,7 @@ description: Starship è il prompt minimalista, super veloce ed estremamente per #### Nushell - ::: warning This will change in the future. Only nu version v0.33 or higher is supported. ::: Add the following to your nu config file. You can check the location of this file by running `config path` in nu. + ::: warning Questo cambierà in futuro. È supportata solo la versione v0.33 o superiore. ::: Aggiungi quanto segue al tuo file di configurazione nu. Puoi controllare la posizione di questo file eseguendo `percorso di configurazione` in nu. ```toml startup = [ @@ -157,7 +157,7 @@ description: Starship è il prompt minimalista, super veloce ed estremamente per #### Xonsh - Add the following to the end of `~/.xonshrc`: + Aggiungi quanto segue alla fine di `~/.xonshrc`: ```sh # ~/.xonshrc diff --git a/docs/it-IT/advanced-config/README.md b/docs/it-IT/advanced-config/README.md index 6e74418c0..9da84da98 100644 --- a/docs/it-IT/advanced-config/README.md +++ b/docs/it-IT/advanced-config/README.md @@ -68,9 +68,36 @@ function set_win_title(){ starship_precmd_user_func="set_win_title" ``` -## Stringhe di stile +## Enable Right Prompt -Le stringhe di stile sono un elenco di parole, separate da spazi bianchi. Le parole non sono sensibili alle maiuscole (cioè `grassetto` e `BoLd` sono considerate la stessa stringa). Ogni parola può essere una delle seguenti: +Some shells support a right prompt which renders on the same line as the input. Starship can set the content of the right prompt using the `right_format` option. Any module that can be used in `format` is also supported in `right_format`. The `$all` variable will only contain modules not explicitly used in either `format` or `right_format`. + +Note: The right prompt is a single line following the input location. To right align modules above the input line in a multi-line prompt, see the [fill module](/config/#fill). + +`right_format` is currently supported for the following shells: elvish, fish, zsh. + +### Example + +```toml +# ~/.config/starship.toml + +# A minimal left prompt +format = """$character""" + +# move the rest of the prompt to the right +right_format = """$all""" +``` + +Produces a prompt like the following: + +``` +▶ starship on rprompt [!] is 📦 v0.57.0 via 🦀 v1.54.0 took 17s +``` + + +## Stile delle Stringhe + +Style strings are a list of words, separated by whitespace. The words are not case sensitive (i.e. `bold` and `BoLd` are considered the same string). Each word can be one of the following: - `bold` - `italic` @@ -82,14 +109,14 @@ Le stringhe di stile sono un elenco di parole, separate da spazi bianchi. Le par - `<color>` - `none` -dove `<color>` è un colore specifico (discusso in seguito). `fg:<color>` e `<color>` attualmente fanno la stessa cosa, anche se questo potrebbe cambiare in futuro. `inverted` scambia lo sfondo e i colori in primo piano. L'ordine delle parole nella stringa non conta. +where `<color>` is a color specifier (discussed below). `fg:<color>` and `<color>` currently do the same thing, though this may change in the future. `inverted` swaps the background and foreground colors. The order of words in the string does not matter. -Il token `none` sovrascrive tutti gli altri token in una stringa se non fa parte di uno specificatore `bg:`, così ad esempio `fg:red none fg:blue` creerà una stringa senza stile. `bg:none` imposta come colore di sfondo quello predefinito così `fg:red bg:none` è equivalente a `red` o `fg:red` e `bg:green fg:red bg:none` è equivalente a `fg:red` o `red`. Potrà diventare un errore usare `none` in combinazione con altri token in futuro. +The `none` token overrides all other tokens in a string if it is not part of a `bg:` specifier, so that e.g. `fg:red none fg:blue` will still create a string with no styling. `bg:none` sets the background to the default color so `fg:red bg:none` is equivalent to `red` or `fg:red` and `bg:green fg:red bg:none` is also equivalent to `fg:red` or `red`. It may become an error to use `none` in conjunction with other tokens in the future. -Uno colore specifico può essere uno di questi: +A color specifier can be one of the following: - Uno dei colori standard del terminale: `nero`, `rosso`, `verde`, `blu`, `giallo`, `viola`, `ciano`, `bianco`. Puoi eventualmente utilizzare il prefisso `bright-` per ottenere la versione luminosa (es. `bright-white`). - Un `#` seguito da un valore esadecimale a sei cifre. Questo specifica un [colore esagesimale in RGB](https://www.w3schools.com/colors/colors_hexadecimal.asp). - Un numero compreso tra 0-255. Specifica un [codice colore ANSI a 8 bit](https://i.stack.imgur.com/KTSQa.png). -Se sono specificati più colori per il primo piano/sfondo, l'ultimo nella stringa avrà la priorità. +If multiple colors are specified for foreground/background, the last one in the string will take priority. diff --git a/docs/it-IT/config/README.md b/docs/it-IT/config/README.md index 7885b026d..5963aac8d 100644 --- a/docs/it-IT/config/README.md +++ b/docs/it-IT/config/README.md @@ -65,9 +65,9 @@ Una variabile contiene un simbolo `$` seguito dal nome della variabile. Il nome Per esempio: -- `$version` is a format string with a variable named `version`. -- `$git_branch$git_commit` is a format string with two variables named `git_branch` and `git_commit`. -- `$git_branch $git_commit` has the two variables separated with a space. +- `$version` è una stringa di formato con una variabile chiamata `version`. +- `$git_branch$git_commit` è una stringa di formato con due variabili denominate `git_branch` e `git_commit`. +- `$git_branch $git_commit` ha le due variabili separate con uno spazio. #### Gruppo Testo @@ -75,30 +75,30 @@ Un gruppo di testo è composto da due parti diverse. La prima parte, che è racchiusa tra `[]`, è una [format string](#format-strings). È possibile aggiungere testi, variabili o anche gruppi annidati di testo. -Nella seconda parte, che è racchiusa tra `()`, è un [style string](#style-strings). Questo può essere usato stile la prima parte. +Nella seconda parte, che è racchiusa tra `()`, è un [style string](#style-strings). This can be used to style the first part. Per esempio: -- `[on](red bold)` will print a string `on` with bold text colored red. -- `[⌘ $version](bold green)` will print a symbol `⌘` followed by the content of variable `version`, with bold text colored green. -- `[a [b](red) c](green)` will print `a b c` with `b` red, and `a` and `c` green. +- `[on](rosso grassetto)` stamperà una stringa `on` con testo in grassetto di colore rosso. +- `[⌘ $version](grassetto verde)` stamperà un simbolo `⌘` seguito dal contenuto della variabile `version`, con testo grassetto di colore verde. +- `[a [b](rosso) c](verde)` stamperà `a b c` con `b` rosso, e `a` e `c` verde. -#### Stringhe di stile +#### Stile delle Stringhe -Most modules in starship allow you to configure their display styles. This is done with an entry (usually called `style`) which is a string specifying the configuration. Here are some examples of style strings along with what they do. For details on the full syntax, consult the [advanced config guide](/advanced-config/). +La maggior parte dei moduli in starship ti permettono di configurare i loro stili di visualizzazione. Questo viene fatto con una voce (solitamente chiamata `style`) che è una stringa che specifica la configurazione. Ecco alcuni esempi di stringhe di stile per quello che fanno. Per maggiori dettagli sulla sintassi completa, consulta la [guida di configurazione avanzata](/advanced-config/). -- `"fg:green bg:blue"` sets green text on a blue background -- `"bg:blue fg:bright-green"` sets bright green text on a blue background -- `"bold fg:27"` sets bold text with [ANSI color](https://i.stack.imgur.com/KTSQa.png) 27 -- `"underline bg:#bf5700"` sets underlined text on a burnt orange background -- `"bold italic fg:purple"` sets bold italic purple text -- `""` explicitly disables all styling +- `"fg:green bg:blue"` imposta il testo verde su uno sfondo blu +- `"bg:blue fg:bright-green"` imposta un testo verde brillante su uno sfondo blu +- `"bold fg:27"` imposta il testo in grassetto con [ANSI color](https://i.stack.imgur.com/KTSQa.png) 27 +- `"underline bg:#bf5700"` imposta il testo sottolineato su uno sfondo arancione scuro +- `"bold italic fg:purple"` imposta il testo viola in corsivo e grassetto +- `""` disabilita esplicitamente tutti gli stili -Note that what styling looks like will be controlled by your terminal emulator. For example, some terminal emulators will brighten the colors instead of bolding text, and some color themes use the same values for the normal and bright colors. Also, to get italic text, your terminal must support italics. +Nota che quello che assomiglia allo stile sarà controllato dal tuo emulatore terminale. Ad esempio, alcuni emulatori di terminale renderanno luminosi i colori invece del testo in grassetto, e alcuni temi colorati useranno gli stessi valori per i colori normali e luminosi. Inoltre, per ottenere il testo in corsivo, il tuo terminale deve supportare il corsivo. -#### Conditional Format Strings +#### Formattazione condizionale delle stringhe -A conditional format string wrapped in `(` and `)` will not render if all variables inside are empty. +Una stringa di formato condizionale inserita in `(` e `)` non verrà presentata se tutte le variabili interne sono vuote. Per esempio: @@ -108,7 +108,7 @@ Per esempio: #### Escapable characters -The following symbols have special usage in a format string. If you want to print the following symbols, you have to escape them with a backslash (`\`). +I seguenti simboli hanno un uso speciale in una stringa di formato. If you want to print the following symbols, you have to escape them with a backslash (`\`). - \$ - \\ @@ -140,16 +140,18 @@ format = ''' This is the list of prompt-wide configuration options. -### Options +### Opzioni -| Option | Default | Description | -| ----------------- | ------------------------------ | ------------------------------------------------------------ | -| `format` | [link](#default-prompt-format) | Configure the format of the prompt. | -| `scan_timeout` | `30` | Timeout for starship to scan files (in milliseconds). | -| `command_timeout` | `500` | Timeout for commands executed by starship (in milliseconds). | -| `add_newline` | `true` | Inserts blank line between shell prompts. | +| Opzione | Default | Descrizione | +| ----------------- | ------------------------------ | ---------------------------------------------------------------- | +| `format` | [link](#default-prompt-format) | Configura il formato del prompt. | +| `right_format` | `""` | See [Enable Right Prompt](/advanced-config/#enable-right-prompt) | +| `scan_timeout` | `30` | Timeout for starship to scan files (in milliseconds). | +| `command_timeout` | `500` | Timeout for commands executed by starship (in milliseconds). | +| `add_newline` | `true` | Inserts blank line between shell prompts. | -### Example + +### Esempio ```toml # ~/.config/starship.toml @@ -179,6 +181,7 @@ format = """ $username\ $hostname\ $shlvl\ +$singularity\ $kubernetes\ $directory\ $vcsh\ @@ -191,6 +194,7 @@ $hg_branch\ $docker_context\ $package\ $cmake\ +$cobol\ $dart\ $deno\ $dotnet\ @@ -202,6 +206,7 @@ $helm\ $java\ $julia\ $kotlin\ +$lua\ $nim\ $nodejs\ $ocaml\ @@ -209,6 +214,7 @@ $perl\ $php\ $purescript\ $python\ +$rlang\ $red\ $ruby\ $rust\ @@ -229,7 +235,6 @@ $crystal\ $custom\ $cmd_duration\ $line_break\ -$lua\ $jobs\ $battery\ $time\ @@ -238,6 +243,13 @@ $shell\ $character""" ``` +If you just want to extend the default format, you can use `$all`; modules you explicitly add to the format will not be duplicated. Eg. + +```toml +# Move the directory to the second line +format="$all$directory$character" +``` + ## AWS The `aws` module shows the current AWS region and profile. This is based on `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env var with `~/.aws/config` file. This module also shows an expiration timer when using temporary credentials. @@ -250,7 +262,7 @@ When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFIL ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | -------------------------------------------------------------------- | ----------------------------------------------------------------- | | `format` | `'on [$symbol($profile )(\($region\) )(\[$duration\])]($style)'` | The format for the module. | | `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. | @@ -261,7 +273,7 @@ When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFIL ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | ---------------- | ------------------------------------------- | | region | `ap-northeast-1` | The current AWS region | | profile | `astronauts` | The current AWS profile | @@ -318,7 +330,7 @@ The `battery` module shows how charged the device's battery is and its current c ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | -------------------- | --------------------------------- | --------------------------------------------------- | | `full_symbol` | `" "` | The symbol shown when the battery is full. | | `charging_symbol` | `" "` | The symbol shown when the battery is charging. | @@ -356,7 +368,7 @@ The default value for the `charging_symbol` and `discharging_symbol` option is r The `display` option is an array of the following table. -| Option | Default | Description | +| Opzione | Default | Descrizione | | -------------------- | ---------- | --------------------------------------------------------------------------------------------------------- | | `threshold` | `10` | The upper bound for the display option. | | `style` | `bold red` | The style used if the display option is in use. | @@ -404,7 +416,7 @@ By default it only changes color. If you also want to change its shape take a lo ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ---------------- | ------------------- | -------------------------------------------------------------------------------- | | `format` | `"$symbol "` | The format string used before the text input. | | `success_symbol` | `"[❯](bold green)"` | The format string used before the text input if the previous command succeeded. | @@ -414,7 +426,7 @@ By default it only changes color. If you also want to change its shape take a lo ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | -------- | ------- | --------------------------------------------------------------------- | | symbol | | A mirror of either `success_symbol`, `error_symbol` or `vicmd_symbol` | @@ -458,7 +470,7 @@ The `cmake` module shows the currently installed version of [CMake](https://cmak ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | -------------------------------------- | ------------------------------------------------------------------------- | | `format` | `"via [$symbol($version )]($style)"` | The format for the module. | | `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | @@ -471,7 +483,7 @@ The `cmake` module shows the currently installed version of [CMake](https://cmak ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | --------- | ------------------------------------ | | version | `v3.17.3` | The version of cmake | | symbol | | Mirrors the value of option `symbol` | @@ -479,6 +491,36 @@ The `cmake` module shows the currently installed version of [CMake](https://cmak \*: This variable can only be used as a part of a style string +## COBOL / GNUCOBOL + +The `cobol` module shows the currently installed version of COBOL. By default, the module will be shown if any of the following conditions are met: + +- The current directory contains any files ending in `.cob` or `.COB` +- The current directory contains any files ending in `.cbl` or `.CBL` + +### Options + +| Opzione | Default | Descrizione | +| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | +| `symbol` | `"⚙️ "` | The symbol used before displaying the version of COBOL. | +| `format` | `"via [$symbol($version )]($style)"` | The format for the module. | +| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | +| `style` | `"bold blue"` | The style for the module. | +| `detect_extensions` | `["cbl", "cob", "CBL", "COB"]` | Which extensions should trigger this module. | +| `detect_files` | `[]` | Which filenames should trigger this module. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `disabled` | `false` | Disables the `cobol` module. | + +### Variables + +| Variable | Example | Descrizione | +| --------- | ---------- | ------------------------------------ | +| version | `v3.1.2.0` | The version of `cobol` | +| symbol | | Mirrors the value of option `symbol` | +| style\* | | Mirrors the value of option `style` | + +\*: This variable can only be used as a part of a style string + ## Durata del comando The `cmd_duration` module shows how long the last command took to execute. The module will be shown only if the command took longer than two seconds, or the `min_time` config value, if it exists. @@ -493,7 +535,7 @@ Bash users who need preexec-like functionality can use [rcaloras's bash_preexec ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | -------------------- | ----------------------------- | ---------------------------------------------------------- | | `min_time` | `2_000` | Shortest duration to show time for (in milliseconds). | | `show_milliseconds` | `false` | Show milliseconds in addition to seconds for the duration. | @@ -511,7 +553,7 @@ Showing desktop notifications requires starship to be built with `rust-notify` s ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | -------- | --------------------------------------- | | duration | `16m40s` | The time it took to execute the command | | style\* | | Mirrors the value of option `style` | @@ -530,7 +572,7 @@ format = "underwent [$duration](bold yellow)" ## Conda -The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set. +The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) environment, if `$CONDA_DEFAULT_ENV` is set. ::: tip @@ -540,7 +582,7 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `truncation_length` | `1` | The number of directories the environment path should be truncated to, if the environment was created via `conda create -p [path]`. `0` means no truncation. Also see the [`directory`](#directory) module. | | `symbol` | `"🅒 "` | The symbol used before the environment name. | @@ -551,7 +593,7 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | ----------- | ------------ | ------------------------------------ | | environment | `astronauts` | The current conda environment | | symbol | | Mirrors the value of option `symbol` | @@ -577,7 +619,7 @@ The `crystal` module shows the currently installed version of [Crystal](https:// ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `symbol` | `"🔮 "` | The symbol used before displaying the version of crystal. | | `format` | `"via [$symbol($version )]($style)"` | The format for the module. | @@ -590,7 +632,7 @@ The `crystal` module shows the currently installed version of [Crystal](https:// ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | --------- | ------------------------------------ | | version | `v0.32.1` | The version of `crystal` | | symbol | | Mirrors the value of option `symbol` | @@ -617,7 +659,7 @@ The `dart` module shows the currently installed version of [Dart](https://dart.d ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | ------------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `"via [$symbol($version )]($style)"` | The format for the module. | | `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | @@ -630,7 +672,7 @@ The `dart` module shows the currently installed version of [Dart](https://dart.d ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | -------- | ------------------------------------ | | version | `v2.8.4` | The version of `dart` | | symbol | | Mirrors the value of option `symbol` | @@ -654,7 +696,7 @@ The `deno` module shows you your currently installed version of [Deno](https://d ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | -------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `"via [$symbol($version )]($style)"` | The format for the module. | | `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | @@ -667,7 +709,7 @@ The `deno` module shows you your currently installed version of [Deno](https://d ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | -------- | ------------------------------------ | | version | `v1.8.3` | The version of `deno` | | symbol | | Mirrors the value of option `symbol` | @@ -692,7 +734,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------- | | `truncation_length` | `3` | The number of parent folders that the current directory should be truncated to. | | `truncate_to_repo` | `true` | Whether or not to truncate to the root of the git repo that you're currently in. | @@ -707,7 +749,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an <details> <summary>This module has a few advanced configuration options that control how the directory is displayed.</summary> -| Advanced Option | Default | Description | +| Advanced Option | Default | Descrizione | | --------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `substitutions` | | A table of substitutions to be made to the path. | | `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. | @@ -727,7 +769,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | --------------------- | ----------------------------------- | | path | `"D:/Projects"` | The current directory path | | style\* | `"black bold dimmed"` | Mirrors the value of option `style` | @@ -750,7 +792,7 @@ The `docker_context` module shows the currently active [Docker context](https:// ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `format` | `"via [$symbol$context]($style) "` | The format for the module. | | `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. | @@ -763,7 +805,7 @@ The `docker_context` module shows the currently active [Docker context](https:// ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | -------------- | ------------------------------------ | | context | `test_context` | The current docker context | | symbol | | Mirrors the value of option `symbol` | @@ -803,7 +845,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft. ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | The format for the module. | | `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | @@ -817,7 +859,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft. ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | ---------------- | ------------------------------------------------------------------ | | version | `v3.1.201` | The version of `dotnet` sdk | | tfm | `netstandard2.0` | The Target Framework Moniker that the current project is targeting | @@ -845,7 +887,7 @@ The `elixir` module shows the currently installed version of [Elixir](https://el ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. | | `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | @@ -858,7 +900,7 @@ The `elixir` module shows the currently installed version of [Elixir](https://el ### Variables -| Variable | Example | Description | +| Variable | Esempio | Descrizione | | ----------- | ------- | ------------------------------------ | | version | `v1.10` | The version of `elixir` | | otp_version | | The otp version of `elixir` | @@ -888,7 +930,7 @@ The `elm` module shows the currently installed version of [Elm](https://elm-lang ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | -------------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `"via [$symbol($version )]($style)"` | The format for the module. | | `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | @@ -901,7 +943,7 @@ The `elm` module shows the currently installed version of [Elm](https://elm-lang ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | --------- | ------------------------------------ | | version | `v0.19.1` | The version of `elm` | | symbol | | Mirrors the value of option `symbol` | @@ -939,7 +981,7 @@ default = "unknown user" ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ---------- | ------------------------------ | ---------------------------------------------------------------------------- | | `symbol` | | The symbol used before displaying the variable value. | | `variable` | | The environment variable to be displayed. | @@ -949,7 +991,7 @@ default = "unknown user" ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | ------------------------------------------- | ------------------------------------------ | | env_value | `Windows NT` (if _variable_ would be `$OS`) | The environment value of option `variable` | | symbol | | Mirrors the value of option `symbol` | @@ -987,7 +1029,7 @@ The `erlang` module shows the currently installed version of [Erlang/OTP](https: ### Options -| Option | Default | Description | +| Opzione | Default | Descrizione | | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `"via [$symbol($version )]($style)"` | The format for the module. | | `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | @@ -1000,7 +1042,7 @@ The `erlang` module shows the currently installed version of [Erlang/OTP](https: ### Variables -| Variable | Example | Description | +| Variable | Example | Descrizione | | --------- | --------- | ------------------------------------ | | version | `v22.1.3` | The version of `erlang` | | symbol | | Mirrors the value of option `symbol` | @@ -1017,13 +1059,42 @@ The `erlang` module shows the currently installed version of [Erlang/OTP](https: format = "via [e $version](bold red) " ``` +## Fill + +The `fill` module fills any extra space on the line with a symbol. If multiple `fill` modules are present in a line they will split the space evenly between them. This is useful for aligning other modules. + +### Options + +| Opzione | Default | Descrizione | +| -------- | -------------- | --------------------------------- | +| `symbol` | `"."` | The symbol used to fill the line. | +| `style` | `"bold black"` | The style for the module. | + +### Example + +```toml +# ~/.config/starship.toml +format="AA $fill BB $fill CC" + +[fill] +symbol = "-" +style = "bold green" +``` + +Produces a prompt that looks like: + +``` +AA -------------------------------------------- BB -------------------------------------------- CC + +``` + ## Google Cloud (`gcloud`) The `gcloud` module shows the current configuration for [`gcloud`](https://cloud.google.com/sdk/gcloud) CLI. This is based on the `~/.config/gcloud/active_config` file and the `~/.config/gcloud/configurations/config_{CONFIG NAME}` file and the `CLOUDSDK_CONFIG` env var. ### Options -| Option | Default | Description | +| Opzione | Default |