summaryrefslogtreecommitdiffstats
path: root/docs/es-ES
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-08-14 09:24:51 -0400
committerGitHub <noreply@github.com>2021-08-14 15:24:51 +0200
commit91fe1b747f18d00633a9bc6f9766ad09c0a67b97 (patch)
treec942e5fbb47a66ffae1765999cfc8f7dc0e632e9 /docs/es-ES
parent3139c6b8a3811709e80f934478f61562b49d2ec3 (diff)
docs(i18n): new Crowdin updates (#2884)
* New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Simplified) * New translations README.md (Russian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Portuguese) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Italian) * New translations README.md (Chinese Traditional) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (French) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Portuguese) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Japanese) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Korean) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (French) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (French) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Korean) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (French) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Russian) * New translations README.md (Korean) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Turkish) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (Spanish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Chinese Simplified) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Korean) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Turkish) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Turkish) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Turkish) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Korean) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (French) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Korean) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (French) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Italian)
Diffstat (limited to 'docs/es-ES')
-rw-r--r--docs/es-ES/README.md17
-rw-r--r--docs/es-ES/advanced-config/README.md1
-rw-r--r--docs/es-ES/config/README.md302
-rw-r--r--docs/es-ES/guide/README.md11
-rw-r--r--docs/es-ES/presets/README.md93
5 files changed, 287 insertions, 137 deletions
diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md
index 7d4616aa8..9e6f519c9 100644
--- a/docs/es-ES/README.md
+++ b/docs/es-ES/README.md
@@ -18,7 +18,7 @@ features:
footer: Bajo una licencia ISC | Derechos de autor © 2019-presente Colaboradores de Starship
#Used for the description meta tag, for SEO
metaTitle: "Starship: el prompt multi-intérprete"
-description: '¡Starship es el prompt minimalista, ultrarápido e infinitamente personalizable para cualquier intérprete de comandos! Muestra la información que necesitas, a la par que es elegante y minimalista. Instalación rápida disponible para Bash, Fish, ZSH, Ion y PowerShell.'
+description: '¡Starship es el prompt minimalista, ultrarápido e infinitamente personalizable para cualquier intérprete de comandos! Muestra la información que necesitas, a la par que es elegante y minimalista. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, and PowerShell.'
---
<div class="center">
@@ -116,6 +116,7 @@ description: '¡Starship es el prompt minimalista, ultrarápido e infinitamente
eval $(starship init ion)
```
+
#### Elvish
::: advertencia Solo se admite Elvish v0.15 o superior. :::
@@ -139,7 +140,8 @@ description: '¡Starship es el prompt minimalista, ultrarápido e infinitamente
eval `starship init tcsh`
```
- #### Nushell
+
+ #### 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.
@@ -151,3 +153,14 @@ description: '¡Starship es el prompt minimalista, ultrarápido e infinitamente
]
prompt = "starship_prompt"
```
+
+
+ #### Xonsh
+
+ Add the following to the end of `~/.xonshrc`:
+
+ ```sh
+ # ~/.xonshrc
+
+ execx($(starship init xonsh))
+ ```
diff --git a/docs/es-ES/advanced-config/README.md b/docs/es-ES/advanced-config/README.md
index b5ca35af6..c14a7263a 100644
--- a/docs/es-ES/advanced-config/README.md
+++ b/docs/es-ES/advanced-config/README.md
@@ -73,6 +73,7 @@ starship_precmd_user_func="set_win_title"
Las cadenas de estilo son una lista de palabras, separadas por espacios en blanco. Las palabras no son sensibles a mayúsculas (es decir, `bold` y `BoLd` se consideran la misma cadena). Cada palabra puede ser una de las siguientes:
- `bold`
+ - `italic`
- `underline`
- `dimmed`
- `inverted`
diff --git a/docs/es-ES/config/README.md b/docs/es-ES/config/README.md
index 34898f653..7445f4b72 100644
--- a/docs/es-ES/config/README.md
+++ b/docs/es-ES/config/README.md
@@ -934,6 +934,7 @@ Example: following configuration will display value of USER environment variable
[env_var.USER]
default = "unknown user"
```
+:::
### Opciones
@@ -1017,7 +1018,7 @@ format = "via [e $version](bold red) "
## Google Cloud (`gcloud`)
-El módulo `gcloud` muestra la configuración actual para el CLI de [`gcloud`](https://cloud.google.com/sdk/gcloud). Esto se basa en el archivo `~/.config/gcloud/active_config`, el archivo `~/.config/gcloud/configurations/config_{CONFIG NAME}` y la variable de entorno `CLOUDSDK_CONFIG`.
+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.
### Opciones
@@ -1078,7 +1079,7 @@ asia-northeast1 = "an1"
## Git Branch
-El módulo `git_branch` muestra la rama activa del repositorio en tu directorio actual.
+The `git_branch` module shows the active branch of the repo in your current directory.
### Opciones
@@ -1118,19 +1119,19 @@ truncation_symbol = ""
## Git commit
-El módulo `git_commit` muestra el hash de la confirmación actual y también la etiqueta (si existe) del repositorio en su directorio actual.
+The `git_commit` module shows the current commit hash and also the tag (if any) of the repo in your current directory.
### Opciones
-| Opción | Por defecto | Descripción |
-| -------------------- | ------------------------------------------------------ | -------------------------------------------------------------------------------------- |
-| `commit_hash_length` | `7` | La longitud del hash de la confirmación de git mostrado. |
-| `format` | `"[\\($hash\\)]($style) [\\($tag\\)]($style)"` | El formato del módulo. |
-| `style` | `"bold green"` | El estilo del módulo. |
-| `only_detached` | `true` | Mostrar solo el hash de la confirmación de git cuando esté en estado "detached `HEAD`" |
-| `tag_disabled` | `true` | Deshabilita mostrar información de etiquetas en el módulo `git_commit`. |
-| `tag_symbol` | `" 🏷 "` | Símbolo de etiqueta prefijando la información mostrada |
-| `disabled` | `false` | Deshabilita el módulo `git_commit`. |
+| Opción | Por defecto | Descripción |
+| -------------------- | ---------------------------------- | -------------------------------------------------------------------------------------- |
+| `commit_hash_length` | `7` | La longitud del hash de la confirmación de git mostrado. |
+| `format` | `"[\\($hash$tag\\)]($style) "` | El formato del módulo. |
+| `style` | `"bold green"` | El estilo del módulo. |
+| `only_detached` | `true` | Mostrar solo el hash de la confirmación de git cuando esté en estado "detached `HEAD`" |
+| `tag_disabled` | `true` | Deshabilita mostrar información de etiquetas en el módulo `git_commit`. |
+| `tag_symbol` | `" 🏷 "` | Símbolo de etiqueta prefijando la información mostrada |
+| `disabled` | `false` | Deshabilita el módulo `git_commit`. |
### Variables
@@ -1153,7 +1154,7 @@ tag_symbol = "🔖 "
## Git State
-El módulo `git_state` se mostrará en directorios que son parte de un repositorio git, y donde hay una operación en curso, tales como: _REBASING_, _BISECTING_, etc. Si hay información de progreso (por ejemplo, REBASING 3/10), esa información será mostrada también.
+The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too.
### Opciones
@@ -1197,7 +1198,7 @@ The `git_metrics` module will show the number of added and deleted lines in the
::: consejo
-Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` a `false` en tu archivo de configuración.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
@@ -1233,7 +1234,7 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
## Git status
-El módulo `git_status` muestra símbolos que representan el estado del repositorio en su directorio actual.
+The `git_status` module shows symbols representing the state of the repo in your current directory.
### Opciones
@@ -1244,42 +1245,43 @@ El módulo `git_status` muestra símbolos que representan el estado del reposito
| `ahead` | `"⇡"` | El formato de `ahead` |
| `behind` | `"⇣"` | El formato de `behind` |
| `diverged` | `"⇕"` | El formato de `diverged` |
-| `untracked` | `"?"` | El formato de `untracked` |
-| `stashed` | `"$"` | El formato de `stashed` |
-| `modified` | `"!"` | El formato de `modified` |
-| `staged` | `"+"` | El formato de `staged` |
-| `renamed` | `"»"` | El formato de `renamed` |
-| `deleted` | `"✘"` | El formato de `deleted` |
+| `up_to_date` | `""` | The format of `up_to_date` |
+| `untracked` | `"?"` | The format of `untracked` |
+| `stashed` | `"$"` | The format of `stashed` |
+| `modified` | `"!"` | The format of `modified` |
+| `staged` | `"+"` | The format of `staged` |
+| `renamed` | `"»"` | The format of `renamed` |
+| `deleted` | `"✘"` | The format of `deleted` |
| `style` | `"bold red"` | El estilo del módulo. |
-| `disabled` | `false` | Desactiva el módulo `git_status`. |
+| `disabled` | `false` | Disables the `git_status` module. |
### Variables
-Las siguientes variables se pueden utilizar en `format`:
-
-| Variable | Descripción |
-| -------------- | -------------------------------------------------------------------------------------------------------- |
-| `all_status` | Atajo para `$conflicted$stashed$deleted$renamed$modified$staged$untracked` |
-| `ahead_behind` | Muestra la cadena de formato de `diverged` `ahead` o `behind` basado en el estado actual del repositorio |
-| `conflicted` | Muestra `conflicted` cuando esta rama tiene conflictos de fusión. |
-| `untracked` | Muestra `untracked` cuando hay archivos sin rastrear en el directorio de trabajo. |
-| `stashed` | Muestra `stashed` cuando existe un "stash" para el repositorio local. |
-| `modified` | Muestra `modified` cuando hay modificaciones de archivo en el directorio de trabajo. |
-| `staged` | Muestra `staged` cuando se ha añadido un nuevo archivo al área de "stash". |
-| `renamed` | Muestra `renamed` cuando un archivo renombrado ha sido añadido al área de "stash". |
-| `deleted` | Muestra `deleted` cuando un archivo ha sido añadido al área de "stash". |
-| style\* | Refleja el valor de la opción `style` |
+The following variables can be used in `format`:
+
+| Variable | Descripción |
+| -------------- | ------------------------------------------------------------------------------------------------------------- |
+| `all_status` | Atajo para `$conflicted$stashed$deleted$renamed$modified$staged$untracked` |
+| `ahead_behind` | Displays `diverged`, `ahead`, `behind` or `up_to_date` format string based on the current status of the repo. |
+| `conflicted` | Muestra `conflicted` cuando esta rama tiene conflictos de fusión. |
+| `untracked` | Muestra `untracked` cuando hay archivos sin rastrear en el directorio de trabajo. |
+| `stashed` | Muestra `stashed` cuando existe un "stash" para el repositorio local. |
+| `modified` | Muestra `modified` cuando hay modificaciones de archivo en el directorio de trabajo. |
+| `staged` | Muestra `staged` cuando se ha añadido un nuevo archivo al área de "stash". |
+| `renamed` | Muestra `renamed` cuando un archivo renombrado ha sido añadido al área de "stash". |
+| `deleted` | Muestra `deleted` cuando un archivo ha sido añadido al área de "stash". |
+| style\* | Refleja el valor de la opción `style` |
\*: Esta variable sólo puede ser usada como parte de una cadena de estilo
-Las siguientes variables pueden ser usadas en `diverged`:
+The following variables can be used in `diverged`:
| Variable | Descripción |
| -------------- | ------------------------------------------------------- |
| `ahead_count` | Número de commits por delante de la rama de seguimiento |
| `behind_count` | Número de commits detrás de la rama de seguimiento |
-Las siguientes variales pueden ser usadas en `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` y `deleted`:
+The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`:
| Variable | Descripción |
| -------- | ----------------------------- |
@@ -1295,6 +1297,7 @@ conflicted = "🏳"
ahead = "🏎💨"
behind = "😰"
diverged = "😵"
+up_to_date = "✓"
untracked = "🤷‍"
stashed = "📦"
modified = "📝"
@@ -1303,7 +1306,7 @@ renamed = "👅"
deleted = "🗑"
```
-Mostrar el recuento delante/detrás de la rama que está siendo rastreada
+Show ahead/behind count of the branch being tracked
```toml
# ~/.config/starship.toml
@@ -1400,7 +1403,7 @@ format = "via [⎈ $version](bold white) "
## Hostname
-El módulo `hostname` muestra el nombre de host del sistema.
+The `hostname` module shows the system hostname.
### Opciones
@@ -1474,7 +1477,7 @@ symbol = "🌟 "
## Jobs
-El módulo `jobs` muestra el número actual de tareas en ejecución. El módulo se mostrará sólo si hay tareas en segundo plano ejecutándose. El módulo mostrará el número de tareas en ejecución si hay más de 1 tarea o más que el valor configurado de `threshold`, si existe. If `threshold` is set to 0, then the module will also show when there are 0 jobs running.
+The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there is more than 1 job, or more than the `threshold` config value, if it exists. If `threshold` is set to 0, then the module will also show when there are 0 jobs running.
::: aviso
@@ -1601,11 +1604,11 @@ kotlin_binary = "kotlinc"
## Kubernetes
-Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace from the kubeconfig file. El espacio de nombres necesita establecerse en el archivo kubeconfig, esto puede hacerse mediante `kubectl config set-context starship-cluster --namespace astronaut`. Si se establece la variable de entorno `$KUBECONFIG`, el módulo usará eso si no usará el `~/.kube/config`.
+Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-cluster --namespace astronaut`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`.
::: consejo
-Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` a `false` en tu archivo de configuración.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
@@ -1640,11 +1643,34 @@ format = 'on [⛵ $context \($namespace\)](dimmed green) '
disabled = false
[kubernetes.context_aliases]
"dev.local.cluster.k8s" = "dev"
+".*/openshift-cluster/.*" = "openshift"
+"gke_.*_(?P<cluster>[\\w-]+)" = "gke-$cluster"
+```
+
+#### Regex Matching
+
+Additional to simple aliasing, `context_aliases` also supports extended matching and renaming using regular expressions.
+
+The regular expression must match on the entire kube context, capture groups can be referenced using `$name` and `$N` in the replacement. This is more explained in the [regex crate](https://docs.rs/regex/1.5.4/regex/struct.Regex.html#method.replace) documentation.
+
+Long and automatically generated cluster names can be identified and shortened using regular expressions:
+
+```toml
+[kubernetes.context_aliases]
+# OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`:
+".*/openshift-cluster/.*" = "openshift"
+# Or better, to rename every OpenShift cluster at once:
+".*/(?P<cluster>[\\w-]+)/.*" = "$cluster"
+
+# Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone.
+# The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`)
+# and renames every matching kube context into a more readable format (`gke-cluster-name`):
+"gke_.*_(?P<cluster>[\\w-]+)" = "gke-$cluster"
```
## Salto de línea
-El módulo `line_break` separa el indicador en dos líneas.
+The `line_break` module separates the prompt into two lines.
### Opciones
@@ -1704,13 +1730,13 @@ format = "via [🌕 $version](bold blue) "
## Memoria utilizada
-El módulo `memory_usage` muestra la memoria del sistema actual y el uso de memoria de intercambio.
+The `memory_usage` module shows current system memory and swap usage.
-Por defecto, el uso de swap se muestra si el intercambio total del sistema no es cero.
+By default the swap usage is displayed if the total system swap is non-zero.
::: consejo
-Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` a `false` en tu archivo de configuración.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
@@ -1735,7 +1761,7 @@ Este módulo está deshabilitado por defecto. Para activarlo, establece `disable
| symbol | `🐏` | Refleja el valor de la opción `symbol` |
| style\* | | Refleja el valor de la opción `style` |
-\*: Esta variable sólo puede utilizarse como parte de una cadena de estilo \*\*: La información del archivo SWAP sólo se muestra si se detecta en el sistema actual
+\*: This variable can only be used as a part of a style string \*\*: The SWAP file information is only displayed if detected on the current system
### Ejemplo
@@ -1751,7 +1777,7 @@ style = "bold dimmed green"
## Mercurial Branch
-El módulo `hg_branch` muestra la rama activa del repositorio en su directorio actual.
+The `hg_branch` module shows the active branch of the repo in your current directory.
### Opciones
@@ -1829,7 +1855,7 @@ symbol = "🎣 "
## Nix-shell
-The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. El módulo se mostrará dentro de un entorno nix-shell.
+The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. The module will be shown when inside a nix-shell environment.
### Opciones
@@ -1958,7 +1984,7 @@ format = "via [🐪 $version]($style) "
## OpenStack
-El módulo `openstack` muestra la nube OpenStack actual y el proyecto. El módulo solo está activo cuando la variable env `OS_CLOUD` está definida en cuyo caso leerá el archivo `nubes. aml` desde cualquiera de las [ubicaciones por defecto](https://docs.openstack.org/python-openstackclient/latest/configuration/index.html#configuration-files) para obtener el proyecto actual en uso.
+The `openstack` module shows the current OpenStack cloud and project. The module only active when the `OS_CLOUD` env var is set, in which case it will read `clouds.yaml` file from any of the [default locations](https://docs.openstack.org/python-openstackclient/latest/configuration/index.html#configuration-files). to fetch the current project in use.
### Opciones
@@ -1993,12 +2019,13 @@ symbol = "☁️ "
## Versión del paquete
-El módulo `package` se muestra cuando el directorio actual es el repositorio de un paquete, y muestra su versión actual. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `composer`, `gradle`, `julia`, `mix` and `helm` packages.
+The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `composer`, `gradle`, `julia`, `mix` and `helm` packages.
- [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory
- [**cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory
- [**nimble**](https://github.com/nim-lang/nimble) - The `nimble` package version is extracted from the `*.nimble` file present in the current directory with the `nimble dump` command
- [**poetry**](https://python-poetry.org/) – The `poetry` package version is extracted from the `pyproject.toml` present in the current directory
+- [**python**](https://www.python.org) - The `python` package version is extracted from the `setup.cfg` present in the current directory
- [**composer**](https://getcomposer.org/) – The `composer` package version is extracted from the `composer.json` present in the current directory
- [**gradle**](https://gradle.org/) – The `gradle` package version is extracted from the `build.gradle` present
- [**julia**](https://docs.julialang.org/en/v1/stdlib/Pkg/) - The package version is extracted from the `Project.toml` present
@@ -2012,13 +2039,14 @@ El módulo `package` se muestra cuando el directorio actual es el repositorio de
### Opciones
-| Opción | Por defecto | Descripción |
-| ----------------- | --------------------------------- | -------------------------------------------------------------------------------- |
-| `format` | `"is [$symbol$version]($style) "` | El formato del módulo. |
-| `symbol` | `"📦 "` | El símbolo usado antes de mostrar la versión del paquete. |
-| `style` | `"bold 208"` | El estilo del módulo. |
-| `display_private` | `false` | Activar la visualización de la versión para los paquetes marcados como privados. |
-| `disabled` | `false` | Desactiva el módulo `package`. |
+| Opción | Por defecto | Descripción |
+| ----------------- | --------------------------------- | --------------------------------------------------------------------------------------- |
+| `format` | `"is [$symbol$version]($style) "` | El formato del módulo. |
+| `symbol` | `"📦 "` | El símbolo usado antes de mostrar la versión del paquete. |
+| `version_format` | `"v${raw}"` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
+| `style` | `"bold 208"` | El estilo del módulo. |
+| `display_private` | `false` | Enable displaying version for packages marked as private. |
+| `disabled` | `false` | Disables the `package` module. |
### Variables
@@ -2162,7 +2190,7 @@ format = "via [$symbol$version](bold white)"
The `python` module shows the currently installed version of [Python](https://www.python.org/) and the current [Python virtual environment](https://docs.python.org/tutorial/venv.html) if one is activated.
-Si `pyenv_version_name` se establece en `true`, mostrará el nombre de la versión de pyenv. De lo contrario, se mostrará el número de versión de `python --version`.
+If `pyenv_version_name` is set to `true`, it will display the pyenv version name. Otherwise, it will display the version number from `python --version`.
Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
@@ -2186,7 +2214,7 @@ Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes
| `style` | `"yellow bold"` | El estilo del módulo. |
| `pyenv_version_name` | `false` | Usar pyenv para obtener la versión de Python |
| `pyenv_prefix` | `pyenv` | Prefijo antes de mostrar la versión de pyenv sólo se utiliza si se utiliza pyenv |
-| `python_binary` | `["python", "python3, "python2"]` | Configura los binarios de python que Starship debería ejecutar al obtener la versión. |
+| `python_binary` | `["python", "python3", "python2"]` | Configura los binarios de python que Starship debería ejecutar al obtener la versión. |
| `detect_extensions` | `["py"]` | Qué extensiones deben activar este módulo |
| `detect_files` | `[".python-version", "Pipfile", "__init__.py", "pyproject.toml", "requirements.txt", "setup.py", "tox.ini"]` | Qué nombres de archivo deben activar este módulo |
| `detect_folders` | `[]` | Qué carpetas deben activar este módulo |
@@ -2194,9 +2222,9 @@ Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes
::: consejo
-La variable `python_binary` acepta una cadena o una lista de cadenas. Starship intentará ejecutar cada binario hasta que obtenga un resultado. Ten en cuenta que sólo puedes cambiar el binario que Starship ejecuta para obtener la versión de Python no los argumentos que se utilizan.
+The `python_binary` variable accepts either a string or a list of strings. Starship will try executing each binary until it gets a result. Note you can only change the binary that Starship executes to get the version of Python not the arguments that are used.
-Los valores por defecto y el orden para `python_binary` fue elegido para identificar primero la versión de Python en un entorno virtualenv/conda (que actualmente añade un `python`, no importa si apunta a `pithon3` o `pithon2`). Esto tiene el efecto secundario que si todavía tienes un sistema de Python 2 instalado, puede ser recogido antes de cualquier Python 3 (al menos en las Distros de Linux que siempre enlazan `/usr/bin/python` a Python 2). Si ya no trabajas con Python 2 pero no puedes removerlo del sistema, cambiando esto a `"python3"` ocultará cualquier versión de Python 2, ver ejemplo a continuación.
+The default values and order for `python_binary` was chosen to first identify the Python version in a virtualenv/conda environments (which currently still add a `python`, no matter if it points to `python3` or `python2`). This has the side effect that if you still have a system Python 2 installed, it may be picked up before any Python 3 (at least on Linux Distros that always symlink `/usr/bin/python` to Python 2). If you do not work with Python 2 anymore but cannot remove the system Python 2, changing this to `"python3"` will hide any Python version 2, see example below.
:::
@@ -2224,7 +2252,7 @@ pyenv_version_name = true
# ~/.config/starship.toml
[python]
-# Solo usa el binario `python3` para obtener la versión.
+# Only use the `python3` binary to get the version.
python_binary = "python3"
```
@@ -2232,7 +2260,7 @@ python_binary = "python3"
# ~/.config/starship.toml
[python]
-# No se dispara con archivos con extensión py
+# Don't trigger for files with the py extension
detect_extensions = []
```
@@ -2291,7 +2319,7 @@ format = "with [📐 $version](blue bold) "
## Red
-By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). El módulo se muestra si algunas de las siguientes condiciones se cumplen:
+By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met:
- The current directory contains a file with `.red` or `.reds` extension
@@ -2329,7 +2357,7 @@ symbol = "🔴 "
## Ruby
-By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). El módulo se muestra si algunas de las siguientes condiciones se cumplen:
+By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met:
- El directorio actual contiene un archivo `Gemfile`
- El directorio actual contiene un archivo `.ruby-version`
@@ -2369,7 +2397,7 @@ symbol = "🔺 "
## Rust
-By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). El módulo se muestra si algunas de las siguientes condiciones se cumplen:
+By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met:
- El directorio actual contiene un archivo `Cargo.toml`
- El directorio actual contiene un archivo con la extensión `.rs`
@@ -2448,28 +2476,29 @@ symbol = "🌟 "
## Shell
-El módulo `shell` muestra un indicador para el intérprete de comandos actualmente utilizado.
+The `shell` module shows an indicator for currently used shell.
::: consejo
-Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` a `false` en tu archivo de configuración.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
### Opciones
-| Opción | Por defecto | Descripción |
-| ---------------------- | ------------ | -------------------------------------------------------------------- |
-| `bash_indicator` | `bsh` | Una cadena de formato usada para representar Bash. |
-| `fish_indicator` | `fsh` | Una cadena de formato usada para representar Fish. |
-| `zsh_indicator` | `zsh` | Una cadena de formato usada para representar Zsh. |
-| `powershell_indicator` | `psh` | Una cadena de formato usada para representar Powershell. |
-| `ion_indicator` | `ion` | Una cadena de formato usada para representar Ion.