2020-04-03 16:35:39 +00:00
# Configuración Avanzada
2020-01-15 17:23:25 +00:00
2020-11-29 04:45:59 +00:00
Mientras que Starship es un prompt versátil, a veces necesitas más que editar `starhip.toml` para que haga ciertas cosas. Esta página detalla algunas de las técnicas de configuración más avanzadas en Starship.
2020-01-15 17:23:25 +00:00
2020-04-03 16:35:39 +00:00
::: aviso
2020-01-15 17:23:25 +00:00
2020-09-30 20:26:13 +00:00
Las configuraciones de esta sección están sujetos a cambios en futuras versiones de Starship.
2020-01-15 17:23:25 +00:00
:::
2020-11-29 04:45:59 +00:00
## Comandos pre-prompt y pre-ejecucución personalizados en Bash
2020-01-15 17:23:25 +00:00
2020-11-29 04:45:59 +00:00
Bash no posee un framework oficial de preexec/precmd como la mayoría de los demás intérpretes de comandos. Debido a esto, es difícil proporcionar "hooks" totalmente personalizables en `Bash` . Sin embargo, Starship te da la posibilidad de insertar de forma limitada tus propias funciones en el proceso de renderizado del prompt:
2020-01-15 17:23:25 +00:00
2020-11-29 04:45:59 +00:00
- Para ejecutar una función personalizada previa al renderizado del prompt, define una nueva función y asigna su nombre a `starship_precmd_user_func` . Por ejemplo, para renderizar un cohete antes del prompt, se puede realizar así:
2020-01-15 17:23:25 +00:00
```bash
function blastoff(){
echo "🚀"
}
starship_precmd_user_func="blastoff"
```
2020-11-29 04:45:59 +00:00
- Para ejecutar una función personalizada antes de que un comando sea ejecutado, es posible usar el [mecanismo trap `DEBUG` ](https://jichu4n.com/posts/debug-trap-and-prompt_command-in-bash/ ). No obstante, ¡**debes** atrapar la señal DEBUG *antes* de inicializar Starship! Starship puede preservar el valor de la trampa DEBUG, pero si la trampa es reemplazada después de que Starship inicie, alguna funcionalidad fallará.
2020-01-15 17:23:25 +00:00
```bash
function blastoff(){
echo "🚀"
}
2020-11-29 04:45:59 +00:00
trap blastoff DEBUG # Trampa DEBUG *antes* de la ejecución de Starship
2020-01-15 17:23:25 +00:00
eval $(starship init bash)
```
2020-11-29 04:45:59 +00:00
## Cambiar el Título de la Ventana
2020-01-15 17:23:25 +00:00
2020-11-29 04:45:59 +00:00
Algunos intérpretes de comandos van a cambiar automáticamente el título de la ventana por ti (p. ej., para mostrar tu directorio actual). Fish incluso lo hace por defecto. Starship no hace esto, pero es bastante sencillo añadir esta funcionalidad a `Bash` o `zsh` .
2020-01-15 17:23:25 +00:00
2020-11-29 04:45:59 +00:00
Primero, define una función para el cambio de título de la ventana (idéntico en Bash y zsh):
2020-01-15 17:23:25 +00:00
```bash
function set_win_title(){
docs(i18n): new Crowdin translations (#1262)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (German)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (German)
* New translations README.md (Spanish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
2020-06-11 01:28:04 +00:00
echo -ne "\033]0; TU_TÍTULO_DE_VENTANA_AQUÍ \007"
2020-01-15 17:23:25 +00:00
}
```
2020-11-29 04:45:59 +00:00
Puedes usar variables para personalizar este título (`$USER`, `$HOSTNAME` y `$PWD` son opciones populares).
2020-01-15 17:23:25 +00:00
2020-11-29 04:45:59 +00:00
En `Bash` , establece que esta función sea la función precmd de Starship:
2020-01-15 17:23:25 +00:00
```bash
starship_precmd_user_func="set_win_title"
```
docs(i18n): new Crowdin translations (#1262)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (German)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (German)
* New translations README.md (Spanish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
2020-06-11 01:28:04 +00:00
En `zsh` , añade esto al array `precmd_functions` :
2020-01-15 17:23:25 +00:00
```bash
precmd_functions+=(set_win_title)
```
2020-11-29 04:45:59 +00:00
Si te gusta el resultado, añade estas líneas a tu archivo de configuración del intérprete de comandos (`~/.bashrc` o `~/.zsrhc` ) para hacerlo permanente.
2020-07-23 21:07:10 +00:00
2020-11-29 04:45:59 +00:00
Por ejemplo, si quieres mostrar tu directorio actual en el título de la pestaña de la terminal, añade el siguiente fragmento a tu `~/.bashrc` o `~/.zshrc` :
2020-07-23 21:07:10 +00:00
```bash
function set_win_title(){
docs(i18n): New Crowdin updates (#2469)
* 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 (Vietnamese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Sorani (Kurdish))
* 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 (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Polish)
* 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 (Spanish)
* New translations README.md (French)
* New translations README.md (Portuguese)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Russian)
* 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 (French)
* New translations README.md (German)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Dutch)
* New translations README.md (Korean)
* New translations README.md (Russian)
* New translations README.md (Portuguese)
* New translations README.md (Polish)
* New translations README.md (Portuguese)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Korean)
* New translations README.md (Japanese)
* New translations README.md (Russian)
* New translations README.md (Arabic)
* New translations README.md (Turkish)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Italian)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Chinese Simplified)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (German)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* 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 (Korean)
* New translations README.md (Dutch)
* New translations README.md (Polish)
* New translations README.md (Sorani (Kurdish))
* 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 (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Arabic)
* 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 (French)
* New translations README.md (Japanese)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese)
* New translations README.md (Polish)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Dutch)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Japanese)
* New translations README.md (Russian)
* New translations README.md (Italian)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Russian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Arabic)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Turkish)
* New translations README.md (Sorani (Kurdish))
* 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 (Italian)
* 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 (German)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Arabic)
* New translations README.md (German)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Portuguese)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Russian)
* New translations README.md (Vietnamese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Turkish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Korean)
* New translations README.md (Italian)
* New translations README.md (Japanese)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
2021-04-05 14:55:57 +00:00
echo -ne "\033]0; $(basename "$PWD") \007"
2020-07-23 21:07:10 +00:00
}
starship_precmd_user_func="set_win_title"
```
2020-01-15 17:23:25 +00:00
2020-11-29 04:45:59 +00:00
## Cadenas de Estilo
2020-01-15 17:23:25 +00:00
2020-11-29 04:45:59 +00:00
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:
2020-01-15 17:23:25 +00:00
- `bold`
- `underline`
- `dimmed`
- `bg:<color>`
- `fg:<color>`
- `<color>`
- `none`
docs(i18n): new Crowdin translations (#1262)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (German)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (German)
* New translations README.md (Spanish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
2020-06-11 01:28:04 +00:00
donde `<color>` es un especificador de color (discutido a continuación). `fg:<color>` y `<color>` hacen actualmente lo mismo, aunque esto puede cambiar en el futuro. El orden de las palabras en la cadena no importa.
2020-01-15 17:23:25 +00:00
docs(i18n): New Crowdin updates (#2362)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Simplified)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* 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 (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Polish)
* 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 (Spanish)
* New translations README.md (French)
* New translations README.md (Portuguese)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Russian)
* 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 (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Japanese)
* New translations README.md (Korean)
* New translations README.md (Chinese Simplified)
* 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 Traditional)
* New translations README.md (Vietnamese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* 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 (French)
* New translations README.md (Arabic)
* New translations README.md (French)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Dutch)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Polish)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* 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 (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Turkish)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (German)
* 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 (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Polish)
* 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 (Spanish)
* New translations README.md (French)
* New translations README.md (Portuguese)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Russian)
* 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 (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Italian)
* New translations README.md (Italian)
2021-03-15 17:18:42 +00:00
El token `none` anula todos los demás tokens en una cadena si no es parte de un especificador `bg:` , de modo que por ejemplo `fg:red none fg:blue` creará una cadena sin ningún estilo. `bg:none` establece el fondo al color por defecto, así que `fg:red bg:none` es equivalente a `red` o `fg:red` y `bg:green fg:red bg:none` también es equivalente a `fg:red` o `red` . Puede convertirse en un error usar `none` junto con otros tokens en el futuro.
2020-01-15 17:23:25 +00:00
docs(i18n): new Crowdin translations (#1262)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (German)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (German)
* New translations README.md (Spanish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
2020-06-11 01:28:04 +00:00
Un especificador de color puede ser uno de los siguientes:
2020-01-15 17:23:25 +00:00
2020-09-30 20:26:13 +00:00
- Uno de los colores estándar del terminal: `black` , `red` , `green` , `blue` , `yellow` , `purple` , `cyan` , `white` . Opcionalmente puedes agregar el prefijo `bright-` para obtener la versión brillante (por ejemplo, `bright-white` ).
docs(i18n): new Crowdin translations (#1262)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (German)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (German)
* New translations README.md (Spanish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
2020-06-11 01:28:04 +00:00
- Un `#` seguido de un número hexadecimal de seis dígitos. Esto especifica un [código hexadecimal de color RGB ](https://www.w3schools.com/colors/colors_hexadecimal.asp ).
2020-09-30 20:26:13 +00:00
- Un número entre 0-255. Esto especifica un [Código de color ANSI de 8-bits ](https://i.stack.imgur.com/KTSQa.png ).
2020-01-15 17:23:25 +00:00
docs(i18n): new Crowdin translations (#1262)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (German)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (French)
* New translations README.md (Japanese)
* New translations README.md (German)
* New translations README.md (Spanish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Russian)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (French)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
2020-06-11 01:28:04 +00:00
Si se especifican varios colores para el primer plano/fondo, el último en la cadena tendrá prioridad.