From 81317b458dfb1eff9dc2842857344d4ff49ca139 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 17:24:29 +0200 Subject: [PATCH 01/15] Spanish translation for FAQ.md file --- docs/es-ES/FAQ.md | 94 ++++++++++++++++++ docs/es-ES/Packages.md | 127 +++++++++++++++++++++++++ docs/es-ES/README.md | 210 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 431 insertions(+) create mode 100644 docs/es-ES/FAQ.md create mode 100644 docs/es-ES/Packages.md create mode 100644 docs/es-ES/README.md diff --git a/docs/es-ES/FAQ.md b/docs/es-ES/FAQ.md new file mode 100644 index 0000000..75c6626 --- /dev/null +++ b/docs/es-ES/FAQ.md @@ -0,0 +1,94 @@ + + + +# FAQ + +> La documentación de Oh My Fish • También disponible en +> 🇺🇸 +> 🇷🇺 +> 🇨🇳 +> 🇺🇦 +> 🇧🇷 +
+ +Gracias por dedicar tiempo para leer este apartado de preguntas frecuentes (FAQ). Siéntete libre de crear un nuevo _issue_ si su pregunta no está respondida +en este documento. + + +## ¿Qué es Oh My Fish y por qué lo quiero? + +Oh My Fish es un _framework_ para [Fishshell](http://fishshell.com/). Le ayudará a gestionar su configuración, los temas y paquetes. + + +## ¿Qué necesito conocer para utilizar Oh My Fish? + +_Nada_. Puede instalar Oh My Fish y seguir utilizando Fish de manera normal. Cuando este listo para aprender más simplemente escriba en la línea de comandos `omf help`. + + +## ¿Qué son los paquetes Oh My Fish? + +Los paquetes Oh My Fish son temas o complementos esdcitor en fish que expanden las funcionalidades principales de la _shell_, ejecutan código durante la +inicialización, añaden auto completado para las utilidades más conocidas, etc. + + +## ¿Qué tipos de paquetes Oh My Fish existen? + +Existen aproximadamente 3 tipos de paquetes: + +1. Utilidades de configuración. Por ejemplo [`pkg-pyenv`](https://github.com/oh-my-fish/pkg-pyenv) comprueba si `pyenv` existe en su sistema y ejecuta +`(pyenv init - | psub)` por usted durante el arranque. + +2. Temas. Echa un vistazo a nuestra [galería de temas](https://github.com/oh-my-fish). + +3. Utilidades tradicionales para la _shell_. Por ejemplo [`pkg-copy`](https://github.com/oh-my-fish/pkg-copy), una utilidad de portapapeles compatible con +sistemas Linux and OSX. + + +## ¿Qué hace Oh My Fish exactamente? + ++ Ejecuta `$OMF_CONFIG/before.init.fish` si está disponible. + ++ Carga de manera automática los paquetes y temas instalados en la ruta `$OMF_PATH/`. + ++ Carga de manera automática su ruta de configuración. `~/.config/omf` de manera predeterminada, pero configurable mediante `$OMF_CONFIG`. + ++ Carga de manera automática cualquier directorio `functions` de las rutas `$OMF_PATH` y `$OMF_CONFIG` + ++ Ejecuta `$OMF_CONFIG/init.fish` si está disponible. + + +## ¿Cómo puedo actualizar una instalación de Oh My Fish ya existente? + +> :warning: Recuerde realizar primero una copia de seguridad de sus archivos de configuración (o _dotfiles_) y otros datos importantes. + +``` +curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | sh +``` + +Ahora puede eliminar con seguridad `$fish_path`. + +```fish +rm -rf "$fish_path" +``` + + +## ¿Cómo utilizo fish como mi _shell_ predeterminada? + +Añada Fish a `/etc/shells`: + +```sh +echo "/usr/local/bin/fish" | sudo tee -a /etc/shells +``` + +Haga que Fish sea su _shell_ predeterminada: + +```sh +chsh -s /usr/local/bin/fish +``` + +Para volver a tener como predeterminada la _shell_ que utilizaba anteriormente: +> En el siguiente comando sustituya `/bin/bash` con `/bin/tcsh` o `/bin/zsh` según sea lo apropiado en su caso. + +```sh +chsh -s /bin/bash +``` diff --git a/docs/es-ES/Packages.md b/docs/es-ES/Packages.md new file mode 100644 index 0000000..4610f1e --- /dev/null +++ b/docs/es-ES/Packages.md @@ -0,0 +1,127 @@ + + + +# Packages + +> Oh My Fish Documentation • Also in +> 🇷🇺 +> 🇨🇳 +> 🇺🇦 +> 🇧🇷 +
+ +# Creating + +To learn package creation let's create a new package that will provide a `hello_world` command for your shell. Package names may only contain lowercase letters and hyphens to separate words. + +Oh My Fish can scaffold a package structure for you. Use the command `omf new`: + +```fish +$ omf new plugin hello_world +``` + +> Use `omf new theme my_theme_name` for themes. + +The utility changes the current directory to the newly created package: + +``` +$ ls -l + README.md + init.fish + functions/hello_world.fish + completions/hello_world.fish +``` + +>Always describe how your package works in the `README.md`. + + +>Also read more about [auto completion](http://fishshell.com/docs/current/commands.html#complete) and take care to provide it for your utilities when applicable. + +`functions/hello_world.fish` defines a single function: + +```fish +function hello_world -d "Prints hello world" + echo "Hello World!" +end +``` + +Each function in your package must be declared in its own file under `functions` directory. This is required by fish autoloading mechanism, which loads functions on demand, avoiding loading unused functions at startup time. + +Bear in mind that fish lacks a private scope, so if you need to split your package into functions, avoid name clashes prefixing your functions with something unique -- like your package name (e.g. `hello_world_print_help`). To avoid polluting command namespace, consider prefixing private functions with two underscores (e.g. `__function_name_print_help`). + +# Hooks + +Oh My Fish provides a "hooks" system that allows you to write scripts for your package that run when other interesting events occur. Packages can use these hooks to provide advanced installation, custom resource management, etc. Hooks are ordinary Fish scripts named after the event they are triggered by. Most hooks reside in a `hooks` directory inside a package's project directory. + +>Hooks that are called at startup time (`init.fish` and `key_bindings.fish`) can slow down shell startup. Be sure to avoid slow code at startup time! Also, if your package doesn't need a hook file, be sure to remove it. + +The working directory inside a hook is always set to the root directory of the package. The hooks Oh My Fish currently supports are listed below: + +## `init` + +The `init` hook is run once when the shell first loads. Scripts to handle this hook should be located at `init.fish` at package's root directory. + +Inside this hook, you can access three package-related variables: + +* `$package`: Package name +* `$path`: Package installation path +* `$dependencies`: Package dependencies + +For example, with an `init.fish` script containing the following code: + +```fish +echo "hello_world initialized" +``` + +you will see the line `hello_world initialized` at the top of the terminal when it is first opened. + +Use this hook to modify the environment, load resources, autoload functions, etc. If your package does not export any function, you can still use this event to add functionality to your package, or dynamically create functions. + +## `key_bindings` + +If your package or theme need to use key bindings, be sure to set them up in the `key_bindings` hook. Key binding scripts must be located at `key_bindings.fish` at package's root directory. In this hook you can freely use the [`bind`][fish-bind] command to define custom key bindings. + +>Themes can define key bindings too! Oh My Fish will reload key bindings when you switch themes. + +## `install` + +The `install` hook is triggered when a package is first installed. Scripts for this hook must be located at `hooks/install.fish`. + +Inside this hook, you can access two package-related variables: + +* `$package`: Package name +* `$path`: Package installation path + +This hook is useful for downloading additional resources, setting up Git submodules, or installing third-party dependencies like Bash scripts. + +## `update` + +As you might have guessed, the `update` hook is triggered for a package after it is updated. Scripts for this hook must be located at `hooks/update.fish`. + +Inside this hook, you can access two package-related variables: + +* `$package`: Package name +* `$path`: Package installation path + +This hook is useful for updating Git submodules or checking for new versions of third-party dependencies. + +## `uninstall` + +The `uninstall` hook will be triggered before a package is removed via `omf remove `. Scripts for this hook must be located at `hooks/uninstall.fish`. + +Inside this hook, you can access two package-related variables: + +* `$package`: Package name +* `$path`: Package installation path + +Packages can use this hook to clean up custom resources, etc. + +> Note: for backwards-compatibility, uninstall hooks will also be run if they are located at `uninstall.fish` in the package root. + +# Make it public + +The official registry of public packages is managed in the [oh-my-fish/packages-main](https://github.com/oh-my-fish/packages-main) repository. See the README of that repository for instructions on how to add your package to the official package database. + + +[fish-bind]: http://fishshell.com/docs/current/commands.html#bind +[omf-pulls-link]: https://github.com/oh-my-fish/oh-my-fish/pulls diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md new file mode 100644 index 0000000..4feb79f --- /dev/null +++ b/docs/es-ES/README.md @@ -0,0 +1,210 @@ + + + +> The Fishshell Framework + +[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE) [![Fish Shell Version](https://img.shields.io/badge/fish-≥v2.2.0-007EC7.svg?style=flat-square)](http://fishshell.com) [![Travis Build Status](http://img.shields.io/travis/oh-my-fish/oh-my-fish.svg?style=flat-square)](https://travis-ci.org/oh-my-fish/oh-my-fish) [![Slack Status](https://oh-my-fish-slack.herokuapp.com/badge.svg)](https://oh-my-fish-slack.herokuapp.com) + + +Oh My Fish provides core infrastructure to allow you to install packages which extend or modify the look of your shell. It's fast, extensible and easy to use. + +> Also in  +> 🇷🇺 +> 🇨🇳 +> 🇺🇦 +> 🇧🇷 + +
+ +## Table of contents +* [Installation](#installation) +* [Getting Started (command descriptions)](#getting-started) +* [Advanced](#advanced) + * [Startup](#startup) + * [Dotfiles](#dotfiles) +* [Creating Packages](#creating-packages) + +## Installation + +You can get started right away with the default setup by running this in your terminal: + +```fish +curl -L https://get.oh-my.fish | fish +``` + +This will download the installer script and start the installation. Alternatively, you can download the installer and customize your install: + +```fish +curl -L https://get.oh-my.fish > install +fish install --path=~/.local/share/omf --config=~/.config/omf +``` + +You can verify the integrity of the downloaded installer by verifying the script against [this checksum](bin/install.sha256): + +``` +434264c56e3a7bb74733d9b293d72403c404e0a0bded3e632433d391d302504e install +``` + +You can also install Oh My Fish with Git or with an offline source tarball downloaded from the [releases page][releases]: + +```fish +# with git +$ git clone https://github.com/oh-my-fish/oh-my-fish +$ cd oh-my-fish +$ bin/install --offline +# with a tarball +$ curl -L https://get.oh-my.fish > install +$ fish install --offline=omf.tar.gz +``` + +Run `install --help` for a complete list of install options you can customize. + +#### Requirements + +- **fish** shell, version 2.2 or later +- **git**, version 1.9.5 or later + +#### Known Issues + +- Due to a regression bug in fish 2.6 with some terminal emulators, right prompts make the shell unusable. + OMF's `default` theme features a right prompt, so it's necessary to use an alternative theme until a fix is released. + (see [#541](https://github.com/oh-my-fish/oh-my-fish/issues/541)) + + +## Getting Started + +Oh My Fish includes a small utility `omf` to fetch and install new packages and themes. + +#### `omf update` _`[omf]`_ _`[...]`_ + +Update Oh My Fish, all package repositories, and all installed packages. + +- When called without arguments, update core and all installed packages. +- You can choose to update only the core, by running `omf update omf`. +- For selective package update, list only the names of packages you wish to + update. You may still include "omf" in the list to update the core as well. + +#### `omf install` _`[|]`_ + +Install one _or more_ packages. + +- You can install packages directly by URL via `omf install URL` +- When called without arguments, install missing packages from [bundle](#dotfiles). + +#### `omf repositories` _`[list|add|remove]`_ + +Manage user-installed package repositories. Package repositories are where packages come from used by commands like `omf install`. By default the [official repository](https://github.com/oh-my-fish/packages-main) is always installed and available. + +#### `omf list` + +List installed packages. + +#### `omf theme` _``_ + +Apply a theme. To list available themes, type `omf theme`. You can also [preview available themes](./docs/Themes.md) before installing. + +#### `omf remove` _``_ + +Remove a theme or package. + +> Packages can use uninstall hooks, so custom cleanup of resources can be done when uninstalling it. See [Uninstall](/docs/en-US/Packages.md#uninstall) for more information. + +#### `omf reload` + +Reload Oh My Fish and all plugins by using `exec` to replace current shell process with a brand new. + +> This command tries to be as safe as possible, mitigating side-effects caused by `exec` and preventing the reload in case of background processes. + +#### `omf new plugin | theme` _``_ + +Scaffold out a new plugin or theme. + +> This creates a new directory under `$OMF_CONFIG/{pkg | themes}/` with a template. + +#### `omf search` _`-t|--theme / -p|--package`_ _``_ + +Searches Oh My Fish's database for a given package, theme or both. It also supports fuzzy search, so if you are not sure of the name you can simply `omf search simple`. + +#### `omf channel` + +Gets or changes the update channel. + +Two channels are available by default: the `stable` channel provides stable updates with the latest tagged version of Oh My Fish, and `dev` which provides the latest changes under development. The update channel currently set determines what version `omf update` will upgrade to. + +#### `omf doctor` + +Use to troubleshoot before [opening an issue][omf-issues-new]. + +#### `omf destroy` + +Uninstall Oh My Fish. + +## Advanced + +Oh My Fish installer adds a snippet to fish's user config files (`~/.config/fish/conf.d/`) which calls OMF's startup code. + +Notice that the scripts in that directory are sourced in the order that the filesystem sees them, +and so it may be necessary to prefix your script files with ordering numbers. + +For example: `a_script.fish` will take precedence over the `omf.fish` snippet. +So if `a_script.fish` depends on plugins managed by OMF, consider renaming the script file to `xx_a_script.fish`. + +Similiarly, to make sure that a script runs before `omf.fish`, you may prefix it with `00_`. +Alternatively, `~/.config/omf/before.init.fish` may be used. + +### Startup + +Every time you open a new shell, the startup code initializes Oh My Fish installation path and the _config_ path (`~/.config/omf` by default), +sourcing the [`init.fish`](init.fish) script afterwards, which autoloads packages, themes and your custom init files. + +For more information check the [FAQ](docs/en-US/FAQ.md#what-does-oh-my-fish-do-exactly). + +### Dotfiles + +The `$OMF_CONFIG` directory represents the user state of Oh My Fish. It is the perfect +candidate for being added to your dotfiles and/or checked out to version control. There you can find three important files: + +- __`theme`__ - The current theme +- __`bundle`__ - List of currently installed packages/themes +- __`channel`__ - The channel from which OMF gets updates (stable / dev) + +And you may create and customize these special files: + +- __`init.fish`__ - Custom script sourced after shell start +- __`before.init.fish`__ - Custom script sourced before shell start +- __`key_bindings.fish`__ - Custom key bindings where you can use the `bind` command freely + +#### Setting variables in `init.fish` + +One of the most common startup commands used in `init.fish` is variables definition. Quite likely, such variables need to be available in any shell session. To achieve this, define them globally. For example: + +```fish +# Golang developers might need this one +set -xg GOPATH $HOME/gocode + +# Python developers otherwise +set -xg PYTHONDONTWRITEBYTECODE 1 +``` + +#### About the bundle + +Every time a package/theme is installed or removed, the `bundle` file is updated. You can also edit it manually and run `omf install` afterwards to satisfy the changes. Please note that while packages/themes added to the bundle get automatically installed, a package/theme removed from bundle isn't removed from user installation. + +#### Older fish versions + +In fish 2.2, there is no `conf.d` directory, so the startup code has to be placed in the fish config file (`~/.config/fish/config.fish`). + +It's highly recommended that your custom startup commands go into `init.fish` file instead of `~/.config/fish/config.fish`, as this allows you to keep the whole `$OMF_CONFIG` directory under version control. + +If you need startup commands to be run *before* Oh My Fish begins loading plugins, place them in `before.init.fish` instead. If you're unsure, it is usually best to put things in `init.fish`. + +## Creating Packages + +Oh My Fish uses an advanced and well defined plugin architecture to ease plugin development, including init/uninstall hooks, function and completion autoloading. [See the packages documentation](docs/en-US/Packages.md) for more details. + + +[fishshell]: http://fishshell.com +[contributors]: https://github.com/oh-my-fish/oh-my-fish/graphs/contributors +[omf-pulls-link]: https://github.com/oh-my-fish/oh-my-fish/pulls +[omf-issues-new]: https://github.com/oh-my-fish/oh-my-fish/issues/new +[releases]: https://github.com/oh-my-fish/oh-my-fish/releases From 473d081f620649dcdbe8eddddcd8956db6e16fa6 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 18:37:43 +0200 Subject: [PATCH 02/15] Spanish translation for Packages.md file --- docs/es-ES/Packages.md | 103 ++++++++++++++++++++++++----------------- 1 file changed, 60 insertions(+), 43 deletions(-) diff --git a/docs/es-ES/Packages.md b/docs/es-ES/Packages.md index 4610f1e..972ec28 100644 --- a/docs/es-ES/Packages.md +++ b/docs/es-ES/Packages.md @@ -1,28 +1,30 @@ -# Packages +# Paquetes -> Oh My Fish Documentation • Also in +> La documentación de Oh My Fish • También disponible en +> 🇺🇸 > 🇷🇺 > 🇨🇳 > 🇺🇦 > 🇧🇷
-# Creating +# Creando -To learn package creation let's create a new package that will provide a `hello_world` command for your shell. Package names may only contain lowercase letters and hyphens to separate words. +Para aprender en la creación de paquetes, vamos a crear un nuevo paquete que mostrará un comando `hello_world` para su _shell_. Los nombres de los paquetes +solo pueden contener letras minúsculas y guiones para separar palabras. -Oh My Fish can scaffold a package structure for you. Use the command `omf new`: +Oh My Fish puede crear el esqueleto de una estructura de un paquete para usted. Para ello utilice el comando `omf new`: ```fish $ omf new plugin hello_world ``` -> Use `omf new theme my_theme_name` for themes. +> Utilice `omf new theme my_theme_name` para crear un nuevo tema. -The utility changes the current directory to the newly created package: +La utilidad cambia el directorio actual al paquete recién creado: ``` $ ls -l @@ -32,12 +34,13 @@ $ ls -l completions/hello_world.fish ``` ->Always describe how your package works in the `README.md`. +>Proporcione siempre una descripción de cómo funciona su paquete en un archivo `README.md`. ->Also read more about [auto completion](http://fishshell.com/docs/current/commands.html#complete) and take care to provide it for your utilities when applicable. +>Lea más sobre [auto completado](http://fishshell.com/docs/current/commands.html#complete) y tenga en cuenta el incluirlo para sus utilidades cuando sea +>aplicable. -`functions/hello_world.fish` defines a single function: +`functions/hello_world.fish` define una única función: ```fish function hello_world -d "Prints hello world" @@ -45,82 +48,96 @@ function hello_world -d "Prints hello world" end ``` -Each function in your package must be declared in its own file under `functions` directory. This is required by fish autoloading mechanism, which loads functions on demand, avoiding loading unused functions at startup time. +Cada función en su paquete debe ser declarada en su propio archivo en el directorio `functions`. Esto es necesario para el mecanismo de carga automática de +fish, que carga funciones bajo demanda, evitando funciones no utilizadas durante el tiempo de arranque. -Bear in mind that fish lacks a private scope, so if you need to split your package into functions, avoid name clashes prefixing your functions with something unique -- like your package name (e.g. `hello_world_print_help`). To avoid polluting command namespace, consider prefixing private functions with two underscores (e.g. `__function_name_print_help`). +Tenga en cuenta que fish no tiene un ámbito privado, así que si necesita dividir su paquete en funciones, evite conflictos de nombres utilizando como +prefijo de las funciones algo único, como el nombre dle paquete (por ejemplo: `hello_world_print_help`). Para evitar el contaminado de nombres de comandos, +considere utilizar como prefijo de funciones privadas dos guiones bajos (e.g. `__function_name_print_help`). # Hooks -Oh My Fish provides a "hooks" system that allows you to write scripts for your package that run when other interesting events occur. Packages can use these hooks to provide advanced installation, custom resource management, etc. Hooks are ordinary Fish scripts named after the event they are triggered by. Most hooks reside in a `hooks` directory inside a package's project directory. +Oh My Fish ofrece un sistema de "hooks" que le permite escribir scripts para su paquete que son ejecutados cuando ocurre otro evento interesante. Los +paquetes puede utilizar estos _hooks_ para ofrecer una instalación avanzada, una gestión de recursos personalizada, etc. Los _hooks_ son scripts normales de +Fish nombrados después del evento por el que son lanzados. La mayoría de _hooks_ se encuentran en un directorio `hooks` dentro del directorio del proyecto +del paquete. ->Hooks that are called at startup time (`init.fish` and `key_bindings.fish`) can slow down shell startup. Be sure to avoid slow code at startup time! Also, if your package doesn't need a hook file, be sure to remove it. +>Los _hooks_ que son llamados después del tiempo de arranque (`init.fish` y `key_bindings.fish`) pueden ralentizar el arranque de la _shell_. ¡Asegúrese de +>evitar utilizar código lento en el proceso de arranque! También, si su paquete no necesita de un archivo hook, asegúrese de eliminarlo. -The working directory inside a hook is always set to the root directory of the package. The hooks Oh My Fish currently supports are listed below: +El directorio de trabajo desntro de un hoo está siempre establecido en la raíz del directorio del paquete. Los hooks Oh My Fish actualmente admitidos están +listados más abajo: ## `init` -The `init` hook is run once when the shell first loads. Scripts to handle this hook should be located at `init.fish` at package's root directory. +El hook `init` se ejecuta la primera vez que la shell se carga. Los scripts que utilicen este hook deberían estar ubicados en `init.fish` en la raíz del +directorio del paquete. -Inside this hook, you can access three package-related variables: +Dentro de este hook, puede acceder a tres variables relacionadas con el paquete: -* `$package`: Package name -* `$path`: Package installation path -* `$dependencies`: Package dependencies +* `$package`: Nombre dl paquete +* `$path`: Ruta de instalación del paquete +* `$dependencies`: Dependencias del paquete -For example, with an `init.fish` script containing the following code: +Por ejemplo, con un script `init.fish` que contenga el siguiente código: ```fish echo "hello_world initialized" ``` -you will see the line `hello_world initialized` at the top of the terminal when it is first opened. +verá la línea `hello_world initialized` en la parte superior de la terminal cuando sea abierta por primera vez. -Use this hook to modify the environment, load resources, autoload functions, etc. If your package does not export any function, you can still use this event to add functionality to your package, or dynamically create functions. +Utilice este hook para modificar el entorno, cargar recursos, cargar de manera automática funciones, etc. Si su paquete no exporta ninguna función, todavía +puede utilizar este evento para añadir funcionalidades a su paquete, o de manera dinámica crear funciones. ## `key_bindings` -If your package or theme need to use key bindings, be sure to set them up in the `key_bindings` hook. Key binding scripts must be located at `key_bindings.fish` at package's root directory. In this hook you can freely use the [`bind`][fish-bind] command to define custom key bindings. +Si su paquete o sistema utiliza atajos de teclado, asegúrese de establecerlos en el hook `key_bindings`. El script del atajo de teclado debe estar ubicado +en `key_bindings.fish` en la raíz del directorio del paquete. En este hook puede utilizar libremente el comando [`bind`][fish-bind] para definir los atajos +de teclado personalizados. ->Themes can define key bindings too! Oh My Fish will reload key bindings when you switch themes. +>¡Los temas también pueden definir atajos de teclado! Oh My Fish volverá a cargar los atajos de teclado cuando cambie entre los temas. ## `install` -The `install` hook is triggered when a package is first installed. Scripts for this hook must be located at `hooks/install.fish`. +El hook `install` es lanzado cuando un paquete es instalado por primera vez. Los scripts para este hook deberán estar ubicados en `hooks/install.fish`. -Inside this hook, you can access two package-related variables: +Dentro de este hook, puede acceder a dos variables relacionadas con el paquete: -* `$package`: Package name -* `$path`: Package installation path +* `$package`: Nombre del paquete +* `$path`: Ruta de instalación del paquete -This hook is useful for downloading additional resources, setting up Git submodules, or installing third-party dependencies like Bash scripts. +Este hook es útil para descargar recursos adicionales, configurar submódulos de Git o instalar dependencias de terceros como scripts de Bash. ## `update` -As you might have guessed, the `update` hook is triggered for a package after it is updated. Scripts for this hook must be located at `hooks/update.fish`. +Como puede haber adivinado, el hook `update` es lanzado por un paquete después de haber sido actualizado. Los scripts para este hook deberán estar ubicados en `hooks/update.fish`. -Inside this hook, you can access two package-related variables: +Dentro de este hook, puede acceder a dos variables relacionadas con el paquete: -* `$package`: Package name -* `$path`: Package installation path +* `$package`: Nombre del paquete +* `$path`: Ruta de instalación del paquete -This hook is useful for updating Git submodules or checking for new versions of third-party dependencies. +Este hook es útil para actualizar submódulos de Git o para comprobar si existen nuevas versiones para dependencias de terceros. ## `uninstall` -The `uninstall` hook will be triggered before a package is removed via `omf remove `. Scripts for this hook must be located at `hooks/uninstall.fish`. +El hook `uninstall` será lanzado antes de que un paquete sea eliminado mediante `omf remove `. Los scripts para este hook deberán estar ubicados en `hooks/uninstall.fish`. -Inside this hook, you can access two package-related variables: +Dentro de este hook, puede acceder a dos variables relacionadas con el paquete: -* `$package`: Package name -* `$path`: Package installation path +* `$package`: Nombre del paquete +* `$path`: Ruta de instalación del paquete -Packages can use this hook to clean up custom resources, etc. +Los paquetes pueden utilizar este hook para limpiar recursos personalizados, etc. -> Note: for backwards-compatibility, uninstall hooks will also be run if they are located at `uninstall.fish` in the package root. +> Nota: para mantener la compatibilidad con versiones anteriores, los hooks uninstall también serán ejecutados si están ubicados en `uninstall.fish` en la +> raíz del paquete. -# Make it public +# Hágalo público -The official registry of public packages is managed in the [oh-my-fish/packages-main](https://github.com/oh-my-fish/packages-main) repository. See the README of that repository for instructions on how to add your package to the official package database. +El registro oficial de paquetes públicos es gestionado en el repositorio [oh-my-fish/packages-main](https://github.com/oh-my-fish/packages-main). Vea el +archivo README de ese repositorio para encontrar instrucciones de cómo añadir su paquete a la base de datos oficial de paquetes. [fish-bind]: http://fishshell.com/docs/current/commands.html#bind From 8293f07e054c8c59ee8b74e27a7df26877e78dea Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 18:40:16 +0200 Subject: [PATCH 03/15] fix typo in FAQ.md file --- docs/es-ES/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/es-ES/FAQ.md b/docs/es-ES/FAQ.md index 75c6626..49547e2 100644 --- a/docs/es-ES/FAQ.md +++ b/docs/es-ES/FAQ.md @@ -27,7 +27,7 @@ _Nada_. Puede instalar Oh My Fish y seguir utilizando Fish de manera normal. Cua ## ¿Qué son los paquetes Oh My Fish? -Los paquetes Oh My Fish son temas o complementos esdcitor en fish que expanden las funcionalidades principales de la _shell_, ejecutan código durante la +Los paquetes Oh My Fish son temas o complementos escritos en fish que expanden las funcionalidades principales de la _shell_, ejecutan código durante la inicialización, añaden auto completado para las utilidades más conocidas, etc. From 826bd85d6a90550fb025f359436f788d0d0f3c76 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 18:43:02 +0200 Subject: [PATCH 04/15] fix typo in Packages.md file --- docs/es-ES/Packages.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/es-ES/Packages.md b/docs/es-ES/Packages.md index 972ec28..cec2555 100644 --- a/docs/es-ES/Packages.md +++ b/docs/es-ES/Packages.md @@ -65,8 +65,8 @@ del paquete. >Los _hooks_ que son llamados después del tiempo de arranque (`init.fish` y `key_bindings.fish`) pueden ralentizar el arranque de la _shell_. ¡Asegúrese de >evitar utilizar código lento en el proceso de arranque! También, si su paquete no necesita de un archivo hook, asegúrese de eliminarlo. -El directorio de trabajo desntro de un hoo está siempre establecido en la raíz del directorio del paquete. Los hooks Oh My Fish actualmente admitidos están -listados más abajo: +El directorio de trabajo dentro de un hook está siempre establecido en la raíz del directorio del paquete. Los hooks Oh My Fish actualmente admitidos están +listados a continuación: ## `init` @@ -75,7 +75,7 @@ directorio del paquete. Dentro de este hook, puede acceder a tres variables relacionadas con el paquete: -* `$package`: Nombre dl paquete +* `$package`: Nombre del paquete * `$path`: Ruta de instalación del paquete * `$dependencies`: Dependencias del paquete From 5b1c7479c898812d0cdfa9b79c24e10c841024d4 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 20:26:55 +0200 Subject: [PATCH 05/15] WIP spanish README translation --- docs/es-ES/README.md | 132 +++++++++++++++++++++++-------------------- 1 file changed, 71 insertions(+), 61 deletions(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index 4feb79f..ebe8fbf 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -1,14 +1,16 @@ -> The Fishshell Framework +> El _framework_ de Fishshell [![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE) [![Fish Shell Version](https://img.shields.io/badge/fish-≥v2.2.0-007EC7.svg?style=flat-square)](http://fishshell.com) [![Travis Build Status](http://img.shields.io/travis/oh-my-fish/oh-my-fish.svg?style=flat-square)](https://travis-ci.org/oh-my-fish/oh-my-fish) [![Slack Status](https://oh-my-fish-slack.herokuapp.com/badge.svg)](https://oh-my-fish-slack.herokuapp.com) -Oh My Fish provides core infrastructure to allow you to install packages which extend or modify the look of your shell. It's fast, extensible and easy to use. +Oh My Fish ofrece la infraestructura básica para permitirle instalar paquetes que extiendan o modifiquen el aspecto de su _shell_. Es rápido, extensible y +sencillo de utilizar. -> Also in  +> También disponible en  +> 🇺🇸 > 🇷🇺 > 🇨🇳 > 🇺🇦 @@ -16,36 +18,36 @@ Oh My Fish provides core infrastructure to allow you to install packages which e
-## Table of contents -* [Installation](#installation) -* [Getting Started (command descriptions)](#getting-started) -* [Advanced](#advanced) - * [Startup](#startup) - * [Dotfiles](#dotfiles) -* [Creating Packages](#creating-packages) +## Índice de contenidos +* [Instalación](#instalación) +* [Comenzando (descripciones de los comandos)](#comenzando) +* [Avanzado](#avanzado) + * [Inicio](#inicio) + * [Archivos de configuración (Dotfiles)](#dotfiles) +* [Creando paquetes](#creando-paquetes) -## Installation +## Instalación -You can get started right away with the default setup by running this in your terminal: +Puede comenzar de inmediate con la configuración predeterminada ejecutando lo siguiente en su terminal: ```fish curl -L https://get.oh-my.fish | fish ``` -This will download the installer script and start the installation. Alternatively, you can download the installer and customize your install: +Esto descargará el script instalador y comenzará la instalación. De manera alternativa, puede descargar el instalador y personalizar su instalación: ```fish curl -L https://get.oh-my.fish > install fish install --path=~/.local/share/omf --config=~/.config/omf ``` -You can verify the integrity of the downloaded installer by verifying the script against [this checksum](bin/install.sha256): +Puede verificar la integridad del instalador descargado comprobando el script con esta [suma de verificación](bin/install.sha256): ``` 434264c56e3a7bb74733d9b293d72403c404e0a0bded3e632433d391d302504e install ``` -You can also install Oh My Fish with Git or with an offline source tarball downloaded from the [releases page][releases]: +También puede insatalar Oh My Fish mediante Git o con un archivo tarball descargado desde la [página de publicaciones][releases]: ```fish # with git @@ -57,100 +59,108 @@ $ curl -L https://get.oh-my.fish > install $ fish install --offline=omf.tar.gz ``` -Run `install --help` for a complete list of install options you can customize. +Ejecute `install --help` para obtener una lista completa de opciones de instalación que puede personalizar. -#### Requirements +#### Requisitos -- **fish** shell, version 2.2 or later -- **git**, version 1.9.5 or later +- **fish** shell, versión 2.2 o posterior +- **git**, versión 1.9.5 o posterior -#### Known Issues +#### Problemas conocidos -- Due to a regression bug in fish 2.6 with some terminal emulators, right prompts make the shell unusable. - OMF's `default` theme features a right prompt, so it's necessary to use an alternative theme until a fix is released. - (see [#541](https://github.com/oh-my-fish/oh-my-fish/issues/541)) +- Debido a un error de regresión en fish 2.6 con algunos emuladores de terminal, los prompts a la derecha hace que la shell no se pueda utilizar. + El tema OMF's `default` ofrece un prompt a la derecha, así que es necesario utilizar untema alternativo hasta que se publique una solción. + (ver [#541](https://github.com/oh-my-fish/oh-my-fish/issues/541)) -## Getting Started +## Comenzando -Oh My Fish includes a small utility `omf` to fetch and install new packages and themes. +Oh My Fish incluye una pequeña utilidad `omf` para extraer e instalar nuevos paquetes y temas. -#### `omf update` _`[omf]`_ _`[...]`_ +#### `omf update` _`[omf]`_ _`[...]`_ -Update Oh My Fish, all package repositories, and all installed packages. +Actualiza Oh My Fish, todos los paquetes de los repositorios y todos los paquetes instalados. -- When called without arguments, update core and all installed packages. -- You can choose to update only the core, by running `omf update omf`. -- For selective package update, list only the names of packages you wish to - update. You may still include "omf" in the list to update the core as well. +- Cuando es llamado sin argumentos, actualiza el núcleo y todos los paquetes instalados. +- Puede escoger actualizar sólo el núcleo, ejecutando `omf update omf`. +- Para una actualización selectiva de paquetes, escriba solo los paquetes que desea actualizar. Debería incluir "omf" en la lista para actualizar también el + núcleo. -#### `omf install` _`[|]`_ +#### `omf install` _`[|]`_ -Install one _or more_ packages. +Instala uno _o más_ paquetes. -- You can install packages directly by URL via `omf install URL` -- When called without arguments, install missing packages from [bundle](#dotfiles). +- Puede instalar paquetes directamente con la URL mediante `omf install URL` +- Cuando es ejecutado sin argumentos, instala paquetes perdios desde [bundle](#dotfiles). #### `omf repositories` _`[list|add|remove]`_ -Manage user-installed package repositories. Package repositories are where packages come from used by commands like `omf install`. By default the [official repository](https://github.com/oh-my-fish/packages-main) is always installed and available. +Gestiona los paquetes de los repositorios instalados por el usuario. Los paquetes de los repositorios son de donde los paquetes provienen utilizando +comandos como `omf install`. De manera predeterminada el [repositorio oficial](https://github.com/oh-my-fish/packages-main) está siempre instalado y +disponible. #### `omf list` -List installed packages. +Lista los paquetes instalados. -#### `omf theme` _``_ +#### `omf theme` _``_ -Apply a theme. To list available themes, type `omf theme`. You can also [preview available themes](./docs/Themes.md) before installing. +Aplica un tema. Para listar los temas disponibles, escriba `omf theme`. También puede [previsualizar los temas disponibles](./docs/Themes.md) antes de +instalarlos. -#### `omf remove` _``_ +#### `omf remove` _``_ -Remove a theme or package. +Elimina un tema o paquete. -> Packages can use uninstall hooks, so custom cleanup of resources can be done when uninstalling it. See [Uninstall](/docs/en-US/Packages.md#uninstall) for more information. +> Los paquetes pueden utilizar _hooks_ al desinstalarlos, así que una limpieza de recursos personalizado puede ejecutarse cuando se desinstalen. Ver +> [Desinstalar](/docs/es-ES/Packages.md#uninstall) para más información. #### `omf reload` -Reload Oh My Fish and all plugins by using `exec` to replace current shell process with a brand new. +Vuelve a cargar Oh My Fish y todos los complementos utilizando `exec` para reemplazar el proceso shell actual con uno nuevo. -> This command tries to be as safe as possible, mitigating side-effects caused by `exec` and preventing the reload in case of background processes. +> Este comando intenta ser lo más seguro posible, mitigando efectos colaterales cauados por `exec` y prevenir la recarga en el caso de procesos en segundo +> plano. -#### `omf new plugin | theme` _``_ +#### `omf new plugin | theme` _``_ -Scaffold out a new plugin or theme. +Crea un esqueleto para un nuevo complemento o tema. -> This creates a new directory under `$OMF_CONFIG/{pkg | themes}/` with a template. +> Esto crea un nuevo directorio en `$OMF_CONFIG/{pkg | themes}/` con una plantilla. -#### `omf search` _`-t|--theme / -p|--package`_ _``_ +#### `omf search` _`-t|--theme / -p|--package`_ _``_ -Searches Oh My Fish's database for a given package, theme or both. It also supports fuzzy search, so if you are not sure of the name you can simply `omf search simple`. +Busca en la base de datos de Oh My Fish un paquete en concreto, tema o ambos. También soporta una búsqueda menos explícita, así que si no está seguro del +nombre simplemente ejecute `omf search simple`. #### `omf channel` -Gets or changes the update channel. +Obtiene o cambia el canal de actualización. -Two channels are available by default: the `stable` channel provides stable updates with the latest tagged version of Oh My Fish, and `dev` which provides the latest changes under development. The update channel currently set determines what version `omf update` will upgrade to. +De manera predeterminada existen dos canales: el canal `stable` ofrece actualizaciones estables con las versión más recientes de Oh My Fish, y `dev` que +ofrece los últimos cambios en desarrollo. El canal de actualización actual determina a qué versión de `omf update` se actualizará. #### `omf doctor` -Use to troubleshoot before [opening an issue][omf-issues-new]. +Utilizar para diagnosticar un error antes de [abrir un _issue_][omf-issues-new]. #### `omf destroy` -Uninstall Oh My Fish. +Desinstala Oh My Fish. -## Advanced +## Avanzado -Oh My Fish installer adds a snippet to fish's user config files (`~/.config/fish/conf.d/`) which calls OMF's startup code. +El instalador de Oh My Fish añade un fragmento a los archivos de configuración de fish del usuario (`~/.config/fish/conf.d/`) que llama al código de +arranque de OMF. -Notice that the scripts in that directory are sourced in the order that the filesystem sees them, -and so it may be necessary to prefix your script files with ordering numbers. +Tenga en cuenta que los scripts en ese directorio se ofrecen en el orden en el que el sistema de archivos los ve, y quizás puede ser necesario añadir un +prefijo a su script con números para ordenarlos. -For example: `a_script.fish` will take precedence over the `omf.fish` snippet. -So if `a_script.fish` depends on plugins managed by OMF, consider renaming the script file to `xx_a_script.fish`. +Por ejemplo: `a_script.fish` tendrá preferencia sobre el fragmento `omf.fish`. +Así que si `a_script.fish` depende de complementos gestionados por OMF, considere renombrar el archivo del script a `xx_a_script.fish`. -Similiarly, to make sure that a script runs before `omf.fish`, you may prefix it with `00_`. -Alternatively, `~/.config/omf/before.init.fish` may be used. +De manera similar, para asegurarse que un script se ejecuta antes de `omf.fish`, debería añadirle el prefijo `00_`. +De manera alternativa también se puede utilizar `~/.config/omf/before.init.fish`. ### Startup From 6746435aa17f1409c7b9322f325c68c4982df0e8 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 21:50:18 +0200 Subject: [PATCH 06/15] finish README spanish translation --- docs/es-ES/README.md | 63 ++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index ebe8fbf..77faab5 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -162,59 +162,66 @@ Así que si `a_script.fish` depende de complementos gestionados por OMF, conside De manera similar, para asegurarse que un script se ejecuta antes de `omf.fish`, debería añadirle el prefijo `00_`. De manera alternativa también se puede utilizar `~/.config/omf/before.init.fish`. -### Startup +### Inicio -Every time you open a new shell, the startup code initializes Oh My Fish installation path and the _config_ path (`~/.config/omf` by default), -sourcing the [`init.fish`](init.fish) script afterwards, which autoloads packages, themes and your custom init files. +Cada vez que abre una nueva shell, el código de inicio inicializa la ruta de instalación y la ruta de configuración de Oh My Fish (`~/.config/omf` de manera +predeterminada), ejecutando el script [`init.fish`](init.fish) posteriormente, que carga de manera automática los paquetes, temas y sus ficheros +personalizados de inicio. -For more information check the [FAQ](docs/en-US/FAQ.md#what-does-oh-my-fish-do-exactly). +Para más información puede consultar la sección de preguntas frecuentes [FAQ](docs/es-ES/FAQ.md#what-does-oh-my-fish-do-exactly). -### Dotfiles +### Archivos de configuración o _Dotfiles_ -The `$OMF_CONFIG` directory represents the user state of Oh My Fish. It is the perfect -candidate for being added to your dotfiles and/or checked out to version control. There you can find three important files: +El directorio `$OMF_CONFIG` representa el estado del usuario de Oh My Fish. Es el perfecto candidato para ser añadido a sus archivos de configuración o +_dotfiles_ y/o añadirlo a un control de versiones como puede ser Git. Allí se pueden encontrar tres archivos importantes: -- __`theme`__ - The current theme -- __`bundle`__ - List of currently installed packages/themes -- __`channel`__ - The channel from which OMF gets updates (stable / dev) +- __`theme`__ - El tema actual +- __`bundle`__ - Lista de los temas/paquetes actualmente instalados +- __`channel`__ - El canal desde el cual OMF descarga las actualizaciones (estable / dev) -And you may create and customize these special files: +Y puede crear o personalizar esos archivos especiales: -- __`init.fish`__ - Custom script sourced after shell start -- __`before.init.fish`__ - Custom script sourced before shell start -- __`key_bindings.fish`__ - Custom key bindings where you can use the `bind` command freely +- __`init.fish`__ - Script personalizado que se ejecuta después del arranque de la shell +- __`before.init.fish`__ - Script personalizado que se ejecuta antes del arranque de la shell +- __`key_bindings.fish`__ - Atajos de teclado personalizados donde puede utilizar el comando `bind` de manera libre -#### Setting variables in `init.fish` +#### Configurando variables en `init.fish` -One of the most common startup commands used in `init.fish` is variables definition. Quite likely, such variables need to be available in any shell session. To achieve this, define them globally. For example: +Uno de los usos más comunes utilizados en `init.fish` es la definición de variables. Seguramente, para variables que necesitan estar disponible en cualquier +sesión de la shell. Para conseguir esto, es necesario definirlas de manera global. Por ejemplo: ```fish -# Golang developers might need this one +# Los desarrolladore de Golang quizás necesitan esto set -xg GOPATH $HOME/gocode -# Python developers otherwise +# En cambio los desarrolladores de Python set -xg PYTHONDONTWRITEBYTECODE 1 ``` -#### About the bundle +#### Acerca de bundle -Every time a package/theme is installed or removed, the `bundle` file is updated. You can also edit it manually and run `omf install` afterwards to satisfy the changes. Please note that while packages/themes added to the bundle get automatically installed, a package/theme removed from bundle isn't removed from user installation. +Cada vez que un paquete/tema es instalado o eliminado, el archivo `bundle` es actualizado. También puedes editarlo manualmente y después ejecutar `omf +install` para tomar en cuenta los cambios realizados. Por favor tenga en cuenta que mientras que los paquetes/temas añadidos a _bundle_ son automáticamente +instalados, un paquete/tema eliminado de _bundle_ no es eliminado de la instalación del usuario. -#### Older fish versions +#### Versiones antiguas de fish -In fish 2.2, there is no `conf.d` directory, so the startup code has to be placed in the fish config file (`~/.config/fish/config.fish`). +En fish 2.2, no existe el directorio `conf.d`, así que el código de inicio tiene que ser ubicado en el archivo de configuración de fish (`~/.config/fish/config.fish`). -It's highly recommended that your custom startup commands go into `init.fish` file instead of `~/.config/fish/config.fish`, as this allows you to keep the whole `$OMF_CONFIG` directory under version control. +Es altamente recomendado que los comandos personalizados de inicio estén en el archivo `init.fish` en vez de en `~/.config/fish/config.fish`, ya que esto le +permite mantener todo el directorio `$OMF_CONFIG` bajo un servicio de control de versiones. -If you need startup commands to be run *before* Oh My Fish begins loading plugins, place them in `before.init.fish` instead. If you're unsure, it is usually best to put things in `init.fish`. +Si necesita ejecutar comandos de inicio que sean ejecutados *antes* de que Oh My Fish comience a cargar complementos, ubiquelos en `before.init.fish`. Si no +está seguro, normalmente es mejor poner las cosas en `init.fish`. -## Creating Packages +## Creando paquetes -Oh My Fish uses an advanced and well defined plugin architecture to ease plugin development, including init/uninstall hooks, function and completion autoloading. [See the packages documentation](docs/en-US/Packages.md) for more details. +Oh My Fish utiliza una avanzade y bien definida arquitectura de desarrollo de complementos, incluyendo _hooks_ de inicialización/instalación, carga +automática de funciones. [Ver la documentación de paquetes](docs/es-ES/Packages.md) para más detalles. [fishshell]: http://fishshell.com -[contributors]: https://github.com/oh-my-fish/oh-my-fish/graphs/contributors +[colaboradores]: https://github.com/oh-my-fish/oh-my-fish/graphs/contributors [omf-pulls-link]: https://github.com/oh-my-fish/oh-my-fish/pulls [omf-issues-new]: https://github.com/oh-my-fish/oh-my-fish/issues/new -[releases]: https://github.com/oh-my-fish/oh-my-fish/releases +[publicaciones]: https://github.com/oh-my-fish/oh-my-fish/releases From f905c0be9bca93f0ac2b3e487643d168d9cfa5e3 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 21:56:01 +0200 Subject: [PATCH 07/15] added spanish flag and link in english README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4feb79f..4b65e71 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Oh My Fish provides core infrastructure to allow you to install packages which e > 🇨🇳 > 🇺🇦 > 🇧🇷 +> 🇪🇸
From 4617f07088bad1e4b64bc7f52163ae9b5ae11b3a Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 22:00:08 +0200 Subject: [PATCH 08/15] added spanish flag and link in READMEs --- docs/pt-BR/README.md | 2 +- docs/ru-RU/README.md | 1 + docs/uk-UA/README.md | 1 + docs/zh-CN/README.md | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/pt-BR/README.md b/docs/pt-BR/README.md index 7f09f77..b10f57f 100644 --- a/docs/pt-BR/README.md +++ b/docs/pt-BR/README.md @@ -14,7 +14,7 @@ O Oh My Fish fornece infra-estrutura básica para permitir que você instale pac > 🇷🇺 > 🇨🇳 > 🇺🇦 - +> 🇪🇸
diff --git a/docs/ru-RU/README.md b/docs/ru-RU/README.md index 0414376..dcd464a 100644 --- a/docs/ru-RU/README.md +++ b/docs/ru-RU/README.md @@ -12,6 +12,7 @@ Oh My Fish обеспечивает базовую инфраструктуру, > 🇨🇳 > 🇺🇦 > 🇧🇷 +> 🇪🇸
diff --git a/docs/uk-UA/README.md b/docs/uk-UA/README.md index ebfa5ac..21f2f3c 100644 --- a/docs/uk-UA/README.md +++ b/docs/uk-UA/README.md @@ -12,6 +12,7 @@ Oh My Fish надає базову інфраструктуру, щоб забе > 🇨🇳 > 🇷🇺 > 🇧🇷 +> 🇪🇸
diff --git a/docs/zh-CN/README.md b/docs/zh-CN/README.md index 5f08b11..27ee503 100644 --- a/docs/zh-CN/README.md +++ b/docs/zh-CN/README.md @@ -12,6 +12,7 @@ Oh My Fish 提供核心基础设施的配置,允许每个人可以轻松安装 > 🇷🇺 > 🇺🇦 > 🇧🇷 +> 🇪🇸
From 8ec65399acccad8efcbbcd61fc1cfda7c027d1b1 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 22:02:58 +0200 Subject: [PATCH 09/15] fix internal link in Spanish README --- docs/es-ES/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index 77faab5..3f3ad05 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -170,7 +170,7 @@ personalizados de inicio. Para más información puede consultar la sección de preguntas frecuentes [FAQ](docs/es-ES/FAQ.md#what-does-oh-my-fish-do-exactly). -### Archivos de configuración o _Dotfiles_ +### Archivos de configuración (Dotfiles) El directorio `$OMF_CONFIG` representa el estado del usuario de Oh My Fish. Es el perfecto candidato para ser añadido a sus archivos de configuración o _dotfiles_ y/o añadirlo a un control de versiones como puede ser Git. Allí se pueden encontrar tres archivos importantes: From 9612c7528f2707d3bd4f52fe499fd181049f80aa Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 22:07:22 +0200 Subject: [PATCH 10/15] fix link to Packages spanish translation --- docs/es-ES/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index 3f3ad05..92fee58 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -216,8 +216,8 @@ está seguro, normalmente es mejor poner las cosas en `init.fish`. ## Creando paquetes -Oh My Fish utiliza una avanzade y bien definida arquitectura de desarrollo de complementos, incluyendo _hooks_ de inicialización/instalación, carga -automática de funciones. [Ver la documentación de paquetes](docs/es-ES/Packages.md) para más detalles. +Oh My Fish utiliza una avanzada y bien definida arquitectura de desarrollo de complementos, incluyendo _hooks_ de inicialización/instalación, carga +automática de funciones. [Ver la documentación de paquetes](Packages.md) para más detalles. [fishshell]: http://fishshell.com From a7b7630f1df533bbdbb77882b91af0da49c8ba81 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 22:08:52 +0200 Subject: [PATCH 11/15] fix link to FAQ spanish translation --- docs/es-ES/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index 92fee58..aba4e5c 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -168,7 +168,7 @@ Cada vez que abre una nueva shell, el código de inicio inicializa la ruta de in predeterminada), ejecutando el script [`init.fish`](init.fish) posteriormente, que carga de manera automática los paquetes, temas y sus ficheros personalizados de inicio. -Para más información puede consultar la sección de preguntas frecuentes [FAQ](docs/es-ES/FAQ.md#what-does-oh-my-fish-do-exactly). +Para más información puede consultar la sección de preguntas frecuentes [FAQ](FAQ.md#what-does-oh-my-fish-do-exactly). ### Archivos de configuración (Dotfiles) From 449397938aeece952b1b7e02614f1e12dcc13dc6 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 22:10:38 +0200 Subject: [PATCH 12/15] fix link to FAQ spanish translation --- docs/es-ES/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index aba4e5c..69fb993 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -168,7 +168,7 @@ Cada vez que abre una nueva shell, el código de inicio inicializa la ruta de in predeterminada), ejecutando el script [`init.fish`](init.fish) posteriormente, que carga de manera automática los paquetes, temas y sus ficheros personalizados de inicio. -Para más información puede consultar la sección de preguntas frecuentes [FAQ](FAQ.md#what-does-oh-my-fish-do-exactly). +Para más información puede consultar la sección de preguntas frecuentes [FAQ](FAQ.md#qué-hace-oh-my-fish-exactamente). ### Archivos de configuración (Dotfiles) From ea65245e74d8929b9488173a0e12ee40e1394e25 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 22:13:17 +0200 Subject: [PATCH 13/15] fix link to Themes spanish translation --- docs/es-ES/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index 69fb993..9144e70 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -105,7 +105,7 @@ Lista los paquetes instalados. #### `omf theme` _``_ -Aplica un tema. Para listar los temas disponibles, escriba `omf theme`. También puede [previsualizar los temas disponibles](./docs/Themes.md) antes de +Aplica un tema. Para listar los temas disponibles, escriba `omf theme`. También puede [previsualizar los temas disponibles](../docs/Themes.md) antes de instalarlos. #### `omf remove` _``_ From dc74e8b622675abcbbcd2b5f159c009105f6c989 Mon Sep 17 00:00:00 2001 From: Victorhck Date: Wed, 2 Oct 2019 22:14:02 +0200 Subject: [PATCH 14/15] fix link to Themes spanish translation --- docs/es-ES/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index 9144e70..6b3ccee 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -105,7 +105,7 @@ Lista los paquetes instalados. #### `omf theme` _``_ -Aplica un tema. Para listar los temas disponibles, escriba `omf theme`. También puede [previsualizar los temas disponibles](../docs/Themes.md) antes de +Aplica un tema. Para listar los temas disponibles, escriba `omf theme`. También puede [previsualizar los temas disponibles](../Themes.md) antes de instalarlos. #### `omf remove` _``_ From fa40b93f3f2ec0d14880e03b455bfdc2b44d4c3a Mon Sep 17 00:00:00 2001 From: Victorhck Date: Thu, 27 Feb 2020 09:39:14 +0100 Subject: [PATCH 15/15] fix typos in Spanish Readme --- docs/es-ES/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index 6b3ccee..7713984 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -28,7 +28,7 @@ sencillo de utilizar. ## Instalación -Puede comenzar de inmediate con la configuración predeterminada ejecutando lo siguiente en su terminal: +Puede comenzar de inmediato con la configuración predeterminada ejecutando lo siguiente en su terminal: ```fish curl -L https://get.oh-my.fish | fish @@ -68,8 +68,8 @@ Ejecute `install --help` para obtener una lista completa de opciones de instalac #### Problemas conocidos -- Debido a un error de regresión en fish 2.6 con algunos emuladores de terminal, los prompts a la derecha hace que la shell no se pueda utilizar. - El tema OMF's `default` ofrece un prompt a la derecha, así que es necesario utilizar untema alternativo hasta que se publique una solción. +- Debido a un error de regresión en fish 2.6 con algunos emuladores de terminal, los prompts a la derecha hacen que la shell no se pueda utilizar. + El tema OMF's `default` ofrece un prompt a la derecha, así que es necesario utilizar un tema alternativo hasta que se publique una solución. (ver [#541](https://github.com/oh-my-fish/oh-my-fish/issues/541)) @@ -91,7 +91,7 @@ Actualiza Oh My Fish, todos los paquetes de los repositorios y todos los paquete Instala uno _o más_ paquetes. - Puede instalar paquetes directamente con la URL mediante `omf install URL` -- Cuando es ejecutado sin argumentos, instala paquetes perdios desde [bundle](#dotfiles). +- Cuando es ejecutado sin argumentos, instala paquetes faltantes desde [bundle](#dotfiles). #### `omf repositories` _`[list|add|remove]`_ @@ -201,8 +201,8 @@ set -xg PYTHONDONTWRITEBYTECODE 1 #### Acerca de bundle Cada vez que un paquete/tema es instalado o eliminado, el archivo `bundle` es actualizado. También puedes editarlo manualmente y después ejecutar `omf -install` para tomar en cuenta los cambios realizados. Por favor tenga en cuenta que mientras que los paquetes/temas añadidos a _bundle_ son automáticamente -instalados, un paquete/tema eliminado de _bundle_ no es eliminado de la instalación del usuario. +install` para tomar en cuenta los cambios realizados. Por favor tenga en cuenta que mientras que los paquetes/temas añadidos a _bundle_ son +instalados automáticamente, un paquete/tema eliminado de _bundle_ no es eliminado de la instalación del usuario. #### Versiones antiguas de fish