summaryrefslogtreecommitdiffstats
path: root/docs/es-ES
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-09-30 21:23:36 -0400
committerGitHub <noreply@github.com>2020-09-30 21:23:36 -0400
commit15c04e7d18f13dfc302e3a7e92e51cce03714700 (patch)
tree8f2f279241abd7e5e2e32b672aa568a158cf042c /docs/es-ES
parentc02b335ee3bb17431784be030da1838370ada199 (diff)
docs(i18n): new Crowdin updates (#1705)
Diffstat (limited to 'docs/es-ES')
-rw-r--r--docs/es-ES/config/README.md268
-rw-r--r--docs/es-ES/migrating-to-0.45.0/README.md10
2 files changed, 139 insertions, 139 deletions
diff --git a/docs/es-ES/config/README.md b/docs/es-ES/config/README.md
index 0a54a6e8e..c598c5e67 100644
--- a/docs/es-ES/config/README.md
+++ b/docs/es-ES/config/README.md
@@ -48,23 +48,23 @@ El equivalente en PowerShell (Windows) es añadir esta línea a tu `$PROFILE`:
$ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp"
```
-### Terminology
+### Terminología
-**Module**: A component in the prompt giving information based on contextual information from your OS. For example, the "nodejs" module shows the version of NodeJS that is currently installed on your computer, if your current directory is a NodeJS project.
+**Módulo**: un componente en el símbolo de sistema que provee de información basada en información contextual de tu sistema operativo. Por ejemplo, el módulo "nodejs" muestra la versión de NodeJS que tienes actualmente instalada en tu ordenador, si el directorio actual es un proyecto NodeJS.
-**Variable**: Smaller sub-components that contains information provided by the module. For example, the "version" variable in the "nodejs" module contains the current version of NodeJS.
+**Variable**: subcomponentes más pequeños que contienen información proporcionada por el módulo. Por ejemplo, la variable "version" en el módulo "nodejs" contiene la versión actual de NodeJS.
-By convention, most modules have a prefix of default terminal color (e.g. `via` in "nodejs") and an empty space as a suffix.
+Por convención, la mayoría de los módulos tienen un prefijo del color predeterminado de la terminal (por ejemplo, `vía` en "nodejs") y un espacio vacío como sufijo.
-### Format Strings
+### Formato de cadenas de texto
-Format strings are the format that a module prints all its variables with. Most modules have an entry called `format` that configures the display format of the module. You can use texts, variables and text groups in a format string.
+Es el formato con el que un módulo imprime todas sus variables. La mayoría de los módulos tienen una entrada llamada `format` que configura el formato de visualización del módulo. Se puede utilizar textos, variables y grupos de texto.
#### Variable
-A variable contains a `$` symbol followed by the name of the variable. The name of a variable only contains letters, numbers and `_`.
+Una variable contiene un símbolo `$` seguido por el nombre de la variable. El nombre de una variable solo contiene letras, números y `_`.
-For example:
+Por ejemplo:
- `$version` es un formato de cadena de texto con una variable llamada `version`.
- `$git_branch$git_commit` es un formato de cadena de texto con dos variables nombradas `git_branch` y `git_commit`.
@@ -72,13 +72,13 @@ For example:
#### Grupo de texto
-A text group is made up of two different parts.
+Un grupo de texto se compone de dos partes diferentes.
-The first part, which is enclosed in a `[]`, is a [format string](#format-strings). You can add texts, variables, or even nested text groups in it.
+La primera parte, que está encerrada en un `[]`, es un [formato de cadena de texto](#format-strings). Se puede agregar textos, variables, o incluso grupos de texto anidados.
-In the second part, which is enclosed in a `()`, is a [style string](#style-strings). This can be used style the first part.
+En la segunda parte, que está encerrada en un `()`, es un [formato de cadena de texto](#style-strings). Se puede utilizar el estilo de la primera parte.
-For example:
+Por ejemplo:
- `[on](bold red)` imprimirá una cadena `en` con texto en negrita color rojo.
- `[⬢ $version](bold green)` imprimirá un símbolo `⬢` seguido por el contenido de la variable `version`, con texto en negrita color verde.
@@ -86,7 +86,7 @@ For example:
#### Cadenas de estilo
-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 mayoría de los módulos de starship permiten configurar los estilos de su cadenas texto. Esto se consigue con una entrada (normalmente llamada `style` - estilo) que no es más que un texto donde se especifica la configuración. A continuación mostramos algunos ejemplos de textos estilados junto con su funcionalidad. Para más detalles sobre la sintaxis completa, consulta [la guía de configuración avanzada](/advanced-config/).
- `"fg:green bg:blue"` pone texto verde sobre un fondo azul
- `"bg:blue fg:bright-green"` pone texto verde claro sobre un fondo azul
@@ -95,13 +95,13 @@ Most modules in starship allow you to configure their display styles. This is do
- `"bold italic fg:purple"` pone texto color morado, en negrita y cursiva
- `""` desactiva explícitamente cualquier estilo
-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.
+Nótese que el estilo es similar a como se controlaría por el emulador de su terminal. Por ejemplo, algunos emuladores de terminal harán los colores más brillantes en lugar de más gruesos, y algunos temas usan los mismos valores para texto normal y colores brillantes. Además, para mostrar textos en cursiva tu terminal debe tener soporte para hacerlo.
#### Cadenas de formato condicionales
-A conditional format string wrapped in `(` and `)` will not render if all variables inside are empty.
+Una cadena de formato condicional envuelto en `(` y `)` no se renderizará si todas las variables dentro están vacías.
-For example:
+Por ejemplo:
- `(@$region)` no mostrará nada si la variable `region` es `None`, de lo contrario `@` seguido por el valor de la región.
- `(algún texto)` siempre mostrará nada ya que no hay variables envueltas entre llaves.
@@ -109,7 +109,7 @@ For example:
#### Carácteres de escape
-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 (`\`).
+Los siguientes símbolos tienen un uso especial en una cadena de formato. Si se quiere imprimir los siguientes símbolos, se tienen que escapar con una barra invertida (`\`).
- \$
- \\
@@ -118,20 +118,20 @@ The following symbols have special usage in a format string. If you want to prin
- (
- )
-Note that `toml` has [its own escape syntax](https://github.com/toml-lang/toml#user-content-string). It is recommended to use a literal string (`''`) in your config. If you want to use a basic string (`""`), pay attention to escape the backslash `\`.
+Se debe tener en cuenta que `toml` tiene [su propia sintaxis de escape](https://github.com/toml-lang/toml#user-content-string). Se recomienda usar una cadena literal (`''`) en la configuración. Si se desea utilizar una cadena básica (`""`), prestar atención para escapar la barra inversa `\`.
-For example, when you want to print a `$` symbol on a new line, the following configs for `format` are equivalent:
+Por ejemplo, cuando se desea imprimir un símbolo `$` en una nueva línea, las siguientes configuraciones para el `format` son equivalentes:
```toml
-# with basic string
+# con cadena básica
format = "\n\\$"
-# with multiline basic string
+# con cadena básica multilínea
format = """
\\$"""
-# with literal string
+# con cadena literal
format = '''
\$'''
@@ -139,7 +139,7 @@ format = '''
## Prompt
-This is the list of prompt-wide configuration options.
+Esta es la lista de opciones de configuración.
### Opciones
@@ -154,22 +154,22 @@ This is the list of prompt-wide configuration options.
```toml
# ~/.config/starship.toml
-# Use custom format
+# Usar formato personalizado
format = """
[┌───────────────────>](bold green)
[│](bold green)$directory$rust$package
[└─>](bold green) """
-# Wait 10 milliseconds for starship to check files under the current directory.
+# Espera 10 milisegundos para que starship revise los archivos del directorio actual.
scan_timeout = 10
-# Disable the newline at the start of the prompt
+# Desactiva la nueva línea al inicio del prompt
add_newline = false
```
-### Default Prompt Format
+### Formato predeterminado del Prompt
-The default `format` is used to define the format of the prompt, if empty or no `format` is provided. The default is as shown:
+El `format` predeterminado se utiliza para definir el formato del prompt, si está vacío o no `format` se proporciona. El valor por defecto es el siguiente:
```toml
format = "$all"
@@ -229,9 +229,9 @@ $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.
+El módulo `aws` muestra la región actual de AWS y el perfil. Éste se basa en las variables de entorno `AWS_REGION`, `AWS_DEFAULT_REGION`, y `AWS_PROFILE` del fichero `~/.aws/config`.
-When using [aws-vault](https://github.com/99designs/aws-vault) the profile is read from the `AWS_VAULT` env var.
+Cuando uses [aws-vault](https://github.com/99designs/aws-vault) el perfil se obtiene de la variable de entorno `AWS_VAULT`.
### Opciones
@@ -254,7 +254,7 @@ When using [aws-vault](https://github.com/99designs/aws-vault) the profile is re
\*: Esta variable sólo puede ser usada como parte de una cadena de estilo
-### Examples
+### Ejemplos
#### Mostrar todo
@@ -297,7 +297,7 @@ symbol = "🅰 "
## Battery
-The `battery` module shows how charged the device's battery is and its current charging status. The module is only visible when the device's battery is below 10%.
+El módulo `battery` muestra la cantidad de batería y si está cargando o no. El módulo es solo visible cuando la batería está por debajo del 10%.
### Opciones
@@ -311,7 +311,7 @@ The `battery` module shows how charged the device's battery is and its current c
| `disabled` | `false` | Desactiva el módulo `battery`. |
<details>
-<summary>There are also options for some uncommon battery states.</summary>
+<summary>Hay otras opciones para algunos estados de la batería menos comunes.</summary>
| Variable | Descripción |
| ---------------- | --------------------------------------------------- |
@@ -333,9 +333,9 @@ charging_symbol = "⚡️"
discharging_symbol = "💀"
```
-### Battery Display
+### Indicador de batería
-The `display` configuration option is used to define when the battery indicator should be shown (threshold) and what it looks like (style). If no `display` is provided. The default is as shown:
+La configuración de la opción `display` es usada para definir cuándo se debe mostrar el indicador de batería y cómo debe mostrarse. Si no se provee ningún valor para `display` El valor por defecto es el siguiente:
```toml
[[battery.display]]
@@ -345,7 +345,7 @@ style = "bold red"
#### Opciones
-The `display` option is an array of the following table.
+La opción `display` es un array de la siguiente tabla.
| Variable | Descripción |
| ----------- | --------------------------------------------------------------- |
@@ -355,28 +355,28 @@ The `display` option is an array of the following table.
#### Ejemplo
```toml
-[[battery.display]] # "bold red" style when capacity is between 0% and 10%
+[[battery.display]] # "bold red" cuando la carga está entre 0% y 10%
threshold = 10
style = "bold red"
-[[battery.display]] # "bold yellow" style when capacity is between 10% and 30%
+[[battery.display]] # "bold yellow" cuando la carga está entre 10% y 30%
threshold = 30
style = "bold yellow"
-# when capacity is over 30%, the battery indicator will not be displayed
+# cuando la carga está por encima del 30% el indicador no se mostrará
```
## Character
-The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
+El módulo `character` muestra un carater (normalmente una flecha) tras el texto que introduces en el terminal.
-The character will tell you whether the last command was successful or not. It can do this in two ways:
+El carácter te dirá si el último comando funcionó o no. Se puede hacer de dos maneras:
- cambiando el color (`red`/`green`)
- cambiando la forma (`.`/`✖`)
-By default it only changes color. If you also want to change it's shape take a look at [this example](#with-custom-error-shape).
+Por defecto sólo cambia el color. Si también se quiere cambiar su forma, ver [este ejemplo](#with-custom-error-shape).
### Opciones
@@ -394,7 +394,7 @@ By default it only changes color. If you also want to change it's shape take a l
| -------- | ------- | -------------------------------------------------------------- |
| symbol | | Un espejo de `success_symbol`, `error_symbol` o `vicmd_symbol` |
-### Examples
+### Ejemplos
#### Con forma de error personalizada
@@ -427,7 +427,7 @@ vicmd_symbol = "[V](bold green) "
## CMake
-The `cmake` module shows the currently installed version of CMake if:
+El módulo `cmake` muestra la versión actualmente instalada de CMake si:
- El directorio actual contiene un archivo `CMakeLists.txt`
@@ -452,15 +452,15 @@ The `cmake` module shows the currently installed version of CMake if:
## Tiempo de ejecución
-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.
+El módulo `cmd_duration` muestra cuánto tiempo tardó el último comando en ejecutarse. El módulo se mostrará solo si el comando llevó dos segundos o más, o el valor de `min_time`, si existe.
-::: warning Do not hook the DEBUG trap in Bash
+::: warning No utilizar DEBUG en Bash
-If you are running Starship in `bash`, do not hook the `DEBUG` trap after running `eval $(starship init $0)`, or this module **will** break.
+Si estás usando Starship con `bash`, no uses `DEBUG` después de ejecutar `eval $(starship init $0)`, o el módulo **se romperá**.
:::
-Bash users who need preexec-like functionality can use [rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec). Simply define the arrays `preexec_functions` and `precmd_functions` before running `eval $(starship init $0)`, and then proceed as normal.
+Los usuarios de bash que necesiten la funcionalidad preexec-like pueden usar el framework rcaloras's bash_preexec. Simplemente define los arrays preexec_functions y precmd_functions antes de ejecutar eval $(starship init $0), y continúa con normalidad. Basta con definir los arrays `preexec_functions` y `precmd_functions` antes de ejecutar `eval $(starship init $0)`, y luego proceder como siempre.
### Opciones
@@ -493,11 +493,11 @@ format = "underwent [$duration](bold yellow)"
## Conda
-The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set.
+El módulo `conda` muestra el actual entorno conda, si la variable `$CONDA_DEFAULT_ENV` existe.
::: tip
-This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
+Esto no modifica el propio símbolo de sistema de conda. En caso de querer suprimirlo, ejecuta `conda config --set changeps1 False`.
:::
@@ -533,7 +533,7 @@ format = "[$symbol$environment](dimmed green) "
## Crystal
-The `crystal` module shows the currently installed version of Crystal. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
+El módulo `crystal` muestra la versión actual de Crystal. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
- El directorio actual contiene un fichero `shard.yml`
- El directorio actual contiene un fichero `.cr`
@@ -568,7 +568,7 @@ format = "via [✨ $version](bold blue) "
## Dart
-The `dart` module shows the currently installed version of Dart. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
+El módulo `dart` muestra la versión actualmente instalada de Dart. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
- El directorio actual contiene un archivo con la extensión `.dart`
- El directorio actual contiene un directorio `.dart_tool`
@@ -604,26 +604,26 @@ format = "via [🔰 $version](bold red) "
## Directory
-The `directory` module shows the path to your current directory, truncated to three parent folders. Your directory will also be truncated to the root of the git repo that you're currently in.
+El módulo `directory` muestra la ruta hasta el directorio actual, mostrando tres directorios padre como máximo. Tu directorio se truncará a la raíz del repositorio git en el que estés.
-When using the fish style pwd option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
+Cuando usas el estilo fish de la opción pwd, en lugar de ocultar la ruta truncada, verás una versión acortada del nombre de cada directorio basada en el número que activa la opción.
-For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, and the option set to `1`. You will now see `~/D/N/nixpkgs/pkgs`, whereas before it would have been `nixpkgs/pkgs`.
+Por ejemplo, dado `~/Dev/Nix/nixpkgs/pkgs` donde `nixpkgs` es la raíz del repositorio y el valor de la opción es `1`. En ese caso, verás `~/D/N/nixpkgs/pkgs`, cuando antes hubiera sido `nixpkgs/pkgs`.
### Opciones
-| Variable | Por defecto | Descripción |
-| ------------------------ | ----------------------------------------------- | --------------------------------------------------------------------- |
-| `truncation_length` | `3` | El número de carpetas a las que se debe truncar el directorio actual. |
-| `truncate_to_repo` | `true` | Truncar o no hasta la raíz del repositorio git en el que se esté. |
-| `format` | `"[$path]($style)[$lock_symbol]($lock_style) "` | El formato del módulo. |
-| `style` | `"bold cyan"` | El estilo del módulo. |
-| `disabled` | `false` | Deshabilita el módulo `directory`. |
-| `read_only_symbol` | `"🔒"` | El símbolo que indica si el directorio actual es de sólo lectura. |
-| `read_only_symbol_style` | `"red"` | El estilo para el símbolo de sólo lectura. |
+| Variable | Por defecto | Descripción |
+| ------------------- | -------------------------------------------------- | --------------------------------------------------------------------- |
+| `truncation_length` | `3` | El número de carpetas a las que se debe truncar el directorio actual. |
+| `truncate_to_repo` | `true` | Truncar o no hasta la raíz del repositorio git en el que se esté. |
+| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | El formato del módulo. |
+| `style` | `"bold cyan"` | El estilo del módulo. |
+| `disabled` | `false` | Deshabilita el módulo `directory`. |
+| `read_only` | `"🔒"` | El símbolo que indica si el directorio actual es de sólo lectura. |
+| `read_only_style` | `"red"` | El estilo para el símbolo de sólo lectura. |
<details>
-<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
+<summary>Este módulo tiene algunas opciones avanzadas de configuración que controlan cómo se muestra el directorio.</summary>
| Advanced Option | Por defecto | Descripción |
| --------------------------- | ----------- | ---------------------------------------------------------------------------------------- |
@@ -663,7 +663,7 @@ truncation_length = 8
## Docker Context
-The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default`.
+El módulo `docker_context` muestra el [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) activo si no está a `default`.
### Opciones
@@ -696,9 +696,9 @@ format = "via [🐋 $context](blue bold)"
## Dotnet
-The `dotnet` module shows the relevant version of the .NET Core SDK for the current directory. If the SDK has been pinned in the current directory, the pinned version is shown. Otherwise the module shows the latest installed version of the SDK.
+El módulo `dotnet` muestra la versión usada de .NET Core SDK para el directorio actual. Si el SDK ha sido anclado en el directorio actual, se mostrará la versión fijada. De lo contrario, el módulo muestra la última versión instalada del SDK.
-This module will only be shown in your prompt when one or more of the following files are present in the current directory:
+Este módulo solo se mostrará en tu mensaje cuando uno o más de los siguientes archivos estén presentes en el directorio actual:
- `global.json`
- `project.json`
@@ -710,11 +710,11 @@ This module will only be shown in your prompt when one or more of the following
- `*.fsproj`
- `*.xproj`
-You'll also need the .NET Core SDK installed in order to use it correctly.
+También necesitará tener instalado .NET Core SDK para poder usarlo correctamente.
-Internally, this module uses its own mechanism for version detection. Typically it is twice as fast as running `dotnet --version`, but it may show an incorrect version if your .NET project has an unusual directory layout. If accuracy is more important than speed, you can disable the mechanism by setting `heuristic = false` in the module options.
+Internamente, este módulo utiliza su propio mecanismo para la detección de versiones. Normalmente es el doble de rápido que ejecutar `dotnet --version`, pero puede mostrar una versión incorrecta si tu proyecto .NET tiene un diseño de directorio inusual. Si la precisión es más importante que la velocidad, puede desactivar el mecanismo estableciendo `heuristic = false` en las opciones del módulo.
-The module will also show the Target Framework Moniker (<https://docs.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-framework-versions>) when there is a csproj file in the current directory.
+El módulo también mostrará el Target Framework Moniker ([https://docs.microsoft. om/es/dotnet/standard/frameworks#supported-target-framework-versions](https://docs.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-framework-versions)) cuando exista un archivo csproj en el directorio actual.
### Opciones
@@ -750,7 +750,7 @@ heuristic = false
## Elixir
-The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
+El módulo `elixir` muestra la version instalada actualmente de Elixir y Erlang/OTP. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
- El directorio actual contiene un archivo `mix.exs`.
@@ -787,8 +787,8 @@ symbol = "🔮 "
The `elm` module shows the currently installed version of Elm. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
-- The current directory contains a `elm.json` file
-- The current directory contains a `elm-package.json` file
+- El directorio actual contiene un fichero `elm.json`
+- El directorio actual contiene un fichero `elm-package.json`
- The current directory contains a `.elm-version` file
- The current directory contains a `elm-stuff` folder
- The current directory contains a `*.elm` files
@@ -821,7 +821,7 @@ The `elm` module shows the currently installed version of Elm. El módulo se mue
format = "via [ $version](cyan bold) "
```
-## Environment Variable
+## Variable de entorno
The `env_var` module displays the current value of a selected environment variable. The module will be shown only if any of the following conditions are met:
@@ -830,13 +830,13 @@ The `env_var` module displays the current value of a selected environment variab
### Opciones
-| Opción | Por defecto | Descripción |
-| ---------- | ------------------------------ | ---------------------------------------------------------------------------- |
-| `symbol` | | The symbol used before displaying the variable value. |
-| `variable` | | The environment variable to be displayed. |
-| `default` | | The default value to be displayed when the selected variable is not defined. |
-| `format` | `"with [$env_value]($style) "` | El formato del módulo. |
-| `disabled` | `false` | Disables the `env_var` module. |
+| Opción | Por defecto | Descripción |
+| ------------- | ------------------------------ | ---------------------------------------------------------------------------- |
+| `symbol` | | The symbol used before displaying the variable value. |
+| `variable` | | The environment variable to be displayed. |
+| `por defecto` | | The default value to be displayed when the selected variable is not defined. |
+| `format` | `"with [$env_value]($style) "` | El formato del módulo. |
+| `disabled` | `false` | Disables the `env_var` module. |
### Variables
@@ -862,8 +862,8 @@ default = "unknown shell"
The `erlang` module shows the currently installed version of Erlang/OTP. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
-- The current directory contains a `rebar.config` file.
-- The current directory contains a `erlang.mk` file.
+- El directorio actual contiene un fichero `rebar.config`.
+- El directorio actual contiene un fichero `erlang.mk`.
### Opciones
@@ -914,13 +914,13 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud
| region | `us-central1` | The current GCP region |
| account | `foo@example.com` | The current GCP profile |
| project | | The current GCP project |
-| active | `default` | The active config name written in `~/.config/gcloud/active_config` |
+| active | `por defecto` | The active config name written in `~/.config/gcloud/active_config` |
| symbol | | Refleja el valor de la opción `symbol` |
| style\* | | Refleja el valor de la opción `style` |
\*: Esta variable sólo puede ser usada como parte de una cadena de estilo
-### Examples
+### Ejemplos
#### Display account and project
@@ -989,7 +989,7 @@ truncation_length = 4
truncation_symbol = ""
```
-## Git Commit
+## Git commit
The `git_commit` module shows the current commit hash of the repo in your current directory.
@@ -1021,7 +1021,7 @@ The `git_commit` module shows the current commit hash of the repo in your curren
commit_hash_length = 4
```
-## Git State
+## Git state
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.
@@ -1061,7 +1061,7 @@ format = "[\\($state( $progress_current of $progress_total)\\)]($style) "
cherry_pick = "[🍒 PICKING](bold red)"
```
-## Git Status
+## Git status
The `git_status` module shows symbols representing the state of the repo in your current directory.
@@ -1134,6 +1134,7 @@ deleted = "🗑"
```
Show ahead/behind count of the branch being tracked
+
```toml
# ~/.config/starship.toml
@@ -1147,9 +1148,9 @@ behind = "⇣${count}"
The `golang` module shows the currently installed version of Golang. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
-- The current directory contains a `go.mod` file
-- The current directory contains a `go.sum` file
-- The current directory contains a `glide.yaml` file
+- El directorio actual contiene un fichero `go.mod`
+- El directorio actual contiene un fichero `go.sum`
+- El directorio actual contiene un fichero `glide.yaml`
- The current directory contains a `Gopkg.yml` file
- The current directory contains a `Gopkg.lock` file
- The current directory contains a `.go-version` file
@@ -1188,7 +1189,7 @@ format = "via [🏎💨 $version](bold cyan) "
The `helm` module shows the currently installed version of Helm. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
-- The current directory contains a `helmfile.yaml` file
+- El directorio actual contiene un fichero `helmfile.yaml`
- The current directory contains a `Chart.yaml` file
### Opciones
@@ -1403,7 +1404,7 @@ disabled = false
"dev.local.cluster.k8s" = "dev"
```
-## Line Break
+## Salto de línea
The `line_break` module separates the prompt into two lines.
@@ -1422,7 +1423,7 @@ The `line_break` module separates the prompt into two lines.
disabled = true
```
-## Memory Usage
+## Memoria utilizada
The `memory_usage` module shows current system memory and swap usage.
@@ -1512,7 +1513,7 @@ truncation_symbol = ""
The `nim` module shows the currently installed version of Nim. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
-- The current directory contains a `nim.cfg` file
+- El directorio actual contiene un fichero `nim.cfg`
- The current directory contains a file with the `.nim` extension
- The current directory contains a file with the `.nims` extension
- The current directory contains a file with the `.nimble` extension
@@ -1521,7 +1522,7 @@ The `nim` module shows the currently installed version of Nim. El módulo se mue
| Opción | Por defecto | Descripción |
| ---------- | ---------------------------------- | ----------------------------------------------------- |
-| `format` | `"via [$symbol$version]($style) "` | The format for the module |
+| `format` | `"via [$symbol$version]($style) "` | El formato del módulo |
| `symbol` | `"👑 "` | The symbol used before displaying the version of Nim. |
| `style` | `"bold yellow"` | El estilo del módulo. |
| `disabled` | `false` | Disables the `nim` module. |
@@ -1588,7 +1589,7 @@ format = "via [☃️ $state( \\($name\\))](bold blue) "
The `nodejs` module shows the currently installed version of NodeJS. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
-- The current directory contains a `package.json` file
+- El directorio actual contiene un fichero `package.json`
- The current directory contains a `.node-version` file
- The current directory contains a `node_modules` directory
- The current directory contains a file with the `.js`, `.mjs` or `.cjs` extension
@@ -1622,7 +1623,7 @@ The `nodejs` module shows the currently installed version of NodeJS. El módulo
format = "via [🤖 $version](bold green) "
```
-## Package Version
+## Versión del paquete
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`, `cargo`, `poetry`, `composer`, `gradle`, `julia`, `mix` and `helm` packages.
@@ -1746,7 +1747,7 @@ format = "via [🦪 $version]($style) "
The `php` module shows the currently installed version of PHP. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
-- The current directory contains a `composer.json` file
+- El directorio actual contiene un fichero `composer.json`
- The current directory contains a `.php-version` file
- The current directory contains a `.php` file
@@ -1787,12 +1788,12 @@ If `pyenv_version_name` is set to `true`, it will display the pyenv version name
El módulo se muestra si algunas de las siguientes condiciones se cumplen:
- The current directory contains a `.python-version` file
-- The current directory contains a `requirements.txt` file
-- The current directory contains a `pyproject.toml` file
+- El directorio actual contiene un fichero `requirements.txt`
+- El directorio actual contiene un fichero `pyproject.toml`
- The current directory contains a file with the `.py` extension (and `scan_for_pyfiles` is true)
- The current directory contains a `Pipfile` file
-- The current directory contains a `tox.ini` file
-- The current directory contains a `setup.py` file
+- El directorio actual contiene un fichero `tox.ini`
+- El directorio actual contiene un fichero `setup.py`
- The current directory contains a `__init__.py` file
- A virtual environment is currently activated
@@ -2036,7 +2037,6 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
| `style` | `"bold red"` | El estilo del módulo. |
| `disabled` | `true` | Disables the `status` module. |
-
### Variables
| Variable | Ejemplo | Descripción |
@@ -2047,8 +2047,8 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
\*: Esta variable sólo puede ser usada como parte de una cadena de estilo
-
### Ejemplo
+
```toml
# ~/.config/starship.toml
@@ -2079,12 +2079,12 @@ The `terraform` module shows the currently selected terraform workspace and vers
### Variables
-| Variable | Ejemplo | Descripción |
-| --------- | ---------- | -------------------------------------- |
-| version | `v0.12.24` | The version of `terraform` |
-| workspace | `default` | The current terraform workspace |
-| symbol | | Refleja el valor de la opción `symbol` |
-| style\* | | Refleja el valor de la opción `style` |
+| Variable | Ejemplo | Descripción |
+| --------- | ------------- | -------------------------------------- |
+| version | `v0.12.24` | The version of `terraform` |
+| workspace | `por defecto` | The current terraform workspace |
+| symbol | | Refleja el valor de la opción `symbol` |
+| style\* | | Refleja el valor de la opción `style` |
\*: Esta variable sólo puede ser usada como parte de una cadena de estilo
@@ -2108,7 +2108,7 @@ format = "[🏎💨 $version$workspace]($style) "
format = "[🏎💨 $workspace]($style) "
```
-## Time
+## Hora
The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available.
@@ -2123,12 +2123,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
| Opción | Por defecto | Descripción |
| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `format` | `"at [$time]($style) "` | The format string for the module. |
-| `use_12hr` | `false` | Enables 12 hour formatting |
+| `use_12hr` | `false` | Activa el formato de 12 horas |
| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. |
-| `style` | `"bold yellow"` | The style for the module time |
+| `style` | `"bold yellow"` | El estilo del módulo de la hora |
| `utc_time_offset` | `"local"` | Sets the UTC offset to use. Range from -24 &lt; x &lt; 24. Allows floats to accommodate 30/45 minute timezone offsets. |
| `disabled` | `true` | Disables the `time` module. |
-| `time_range` | `"-"` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format |
+| `time_range` | `"-"` | Establece el intervalo de tiempo durante el cual el módulo se mostrará. La hora debe ser especificada en formato de 24 horas |
If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Otherwise, it defaults to `"%T"`. Manually setting `time_format` will override the `use_12hr` setting.
@@ -2136,7 +2136,7 @@ If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Otherwise, it de
| Variable | Ejemplo | Descripción |
| --------- | ---------- | ------------------------------------- |
-| time | `13:08:10` | The current time. |
+| hora | `13:08:10` | The current time. |
| style\* | | Refleja el valor de la opción `style` |
\*: Esta variable sólo puede ser usada como parte de una cadena de estilo
@@ -2154,7 +2154,7 @@ utc_time_offset = "-5"
time_range = "10:00:00-14:00:00"
```
-## Username
+## Nombre de usuario
The `username` module shows active user's username. El módulo se muestra si algunas de las siguientes condiciones se cumplen:
@@ -2227,7 +2227,7 @@ The `zig` module shows the currently installed version of Zig. El módulo se mue
symbol = "⚡️ "
```
-## Custom commands
+## Comandos personalizados
The `custom` modules show the output of some arbitrary commands.
@@ -2263,7 +2263,7 @@ The order in which custom modules are shown can be individually set by including
| `command` | | The command whose output should be printed. The command will be passed on stdin to the shell. |
| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
| `shell` | | [See below](#custom-command-shell) |
-| `description` | `"<custom module>"` | The description of the module that is shown when running `starship explain`.