summaryrefslogtreecommitdiffstats
path: root/docs/it-IT/config/README.md
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-09-21 09:36:29 -0400
committerGitHub <noreply@github.com>2021-09-21 09:36:29 -0400
commite29b2ddc91b24d8bb672b2ed3b91085bf9407354 (patch)
tree0e7c99c0a2076a699bd04586b4aecbcdfc92428a /docs/it-IT/config/README.md
parent43feb6e4ecd756445b0bde391da41265e79a9e8c (diff)
docs(i18n): new Crowdin updates (#3012)
Diffstat (limited to 'docs/it-IT/config/README.md')
-rw-r--r--docs/it-IT/config/README.md432
1 files changed, 252 insertions, 180 deletions
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 | Descrizione |
| ---------------- | ---------------------------------------------------------- | --------------------------------------------------------------- |
| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | The format for the module. |
| `symbol` | `"☁️ "` | The symbol used before displaying the current GCP profile. |
@@ -1033,7 +1104,7 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud
### Variables
-| Variable | Example | Description |
+| Variable | Example | Descrizione |
| --------- | ------------- | ------------------------------------------------------------------ |
| region | `us-central1` | The current GCP region |
| account | `foo` | The current GCP profile |
@@ -1084,7 +1155,7 @@ The `git_branch` module shows the active branch of the repo in your current dire
### Options
-| Option | Default | Description |
+| Opzione | Default | Descrizione |
| -------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- |
| `always_show_remote` | `false` | Shows the remote tracking branch name, even if it is equal to the local branch name. |
| `format` | `"on [$symbol$branch]($style) "` | The format for the module. Use `"$branch"` to refer to the current branch name. |
@@ -1097,7 +1168,7 @@ The `git_branch` module shows the active branch of the repo in your current dire
### Variables
-| Variable | Example | Description |
+| Variable | Example | Descrizione |
| ------------- | -------- | ------------------------------------------------------------------------------------------------------ |
| branch | `master` | The current branch name, falls back to `HEAD` if there's no current branch (e.g. git detached `HEAD`). |
| remote_name | `origin` | The remote name. |
@@ -1124,7 +1195,7 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
### Options
-| Option | Default | Description |
+| Opzione | Default | Descrizione |
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
@@ -1136,7 +1207,7 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
### Variables
-| Variable | Example | Description |
+| Variable | Example | Descrizione |
| --------- | --------- | ----------------------------------- |
| hash | `b703eb3` | The current git commit hash |
| style\* | | Mirrors the value of option `style` |
@@ -1159,7 +1230,7 @@ The `git_state` module will show in directories which are part of a git reposito
### Options
-| Option | Default | Description |
+| Opzione | Default | Descrizione |
| -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| `rebase` | `"REBASING"` | A format string displayed when a `rebase` is in progress. |
| `merge` | `"MERGING"` | A format string displayed when a `merge` is in progress. |
@@ -1174,7 +1245,7 @@ The `git_state` module will show in directories which are part of a git reposito
### Variables
-| Variable | Example | Description |
+| Variable | Example | Descrizione |
| ---------------- | ---------- | ----------------------------------- |
| state | `REBASING` | The current state of the repo |
| progress_current | `1` | The current operation progress |
@@ -1205,16 +1276,17 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
### Options
-| Option | Default | Description |
-| --------------- | -------------------------------------------------------- | ---------------------------------- |
-| `added_style` | `"bold green"` | The style for the added count. |
-| `deleted_style` | `"bold red"` | The style for the deleted count. |
-| `format` | `'[+$added]($added_style) [-$deleted]($deleted_style) '` | The format for the module. |
-| `disabled` | `true` | Disables the `git_metrics` module. |
+| Opzione | Default | Descrizione |
+| -------------------- | ------------------------------------------------------------ | ------------------------------------- |
+| `added_style` | `"bold green"` | The style for the added count. |
+| `deleted_style` | `"bold red"` | The style for the deleted count. |
+| `only_nonzero_diffs` | `true` | Render status only for changed items. |
+| `format` | `'([+$added]($added_style) )([-$deleted]($deleted_style) )'` | The format for the module. |
+| `disabled` | `true` | Disables the `git_metrics` module. |
### Variables
-| Variable | Example | Description |
+| Variable | Example | Descrizione |
| ----------------- | ------- | ------------------------------------------- |
| added | `1` | The current number of added lines