fisherman works best in fish >= 2.3.0. If you are using 2.2.0, append the following code to your `~/.config/fish/config.fish` for [snippet](#8-what-is-a-plugin) support.
\>=2.2.0.
For [snippet](#8-what-is-a-plugin) support, upgrade to 2.3.0 or append the following code to your *~/.config/fish/config.fish*.
```fish
for file in ~/.config/fish/conf.d/*.fish
@ -145,7 +147,7 @@ end
### 2. How do I use fish as my default shell?
Add fish to the list of login shells in `/etc/shells` and make it your default shell.
Add fish to the list of login shells in */etc/shells* and make it your default shell.
```sh
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
@ -164,15 +166,15 @@ Yes.
### 5. Where does fisherman put stuff?
fisherman is saved to `~/.config/fish/functions/fisher.fish`.
fisherman is saved to *~/.config/fish/functions/fisher.fish*.
The cache and configuration is created in `~/.cache/fisherman` and `~/.config/fisherman` respectively.
The cache and configuration is created in *~/.cache/fisherman* and *~/.config/fisherman* respectively.
The fishfile is saved to `~/.config/fish/fishfile`.
The fishfile is saved to *~/.config/fish/fishfile*.
### 6. What is a fishfile and how do I use it?
The fishfile `~/.config/fish/fishfile` lists all the installed plugins.
The fishfile *~/.config/fish/fishfile* lists all the installed plugins.
You can let fisherman take care of this file for you automatically, or write in the plugins you want and run `fisher` to satisfy the changes.
@ -185,7 +187,7 @@ omf/grc
This mechanism only installs plugins and missing dependencies. To remove a plugin, use `fisher rm` instead.
### 7. Where can I find a list of fish plugins?
### 7. Where can I find the list of fish plugins?
Browse the [organization] or use the [online] search to discover content.
@ -193,18 +195,18 @@ Browse the [organization] or use the [online] search to discover content.
A plugin is:
1. a directory or git repo with a function `.fish` file either at the root level of the project or inside a `functions` directory
1. a directory or git repo with a function *.fish* file either at the root level of the project or inside a *functions* directory
2. a theme or prompt, i.e, a `fish_prompt.fish`, `fish_right_prompt.fish` or both files
2. a theme or prompt, i.e, a *fish_prompt.fish*, *fish_right_prompt.fish* or both files
3. a snippet, i.e, one or more `.fish` files inside a directory named `conf.d` that are evaluated by fish at the start of the shell
3. a snippet, i.e, one or more *.fish* files inside a directory named *conf.d* that are evaluated by fish at the start of the shell
### 9. How can I list plugins as dependencies to my plugin?
Create a new `fishfile` file at the root level of your project and write in the plugin dependencies.
Create a new *fishfile* file at the root level of your project and write in the plugin dependencies.
### 2. Com converteixo fish en la meva consola de comandes per defecte?
Afegeix fish a la llista de consoles de comandes dins de l'arxiu `/etc/shells` i converteix-la en la teva consola de comandes per defecte.
Afegeix fish a la llista de consoles de comandes dins de l'arxiu */etc/shells* i converteix-la en la teva consola de comandes per defecte.
```sh
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
@ -171,15 +171,15 @@ Si.
### 5. On deixa fisherman les seves coses?
fisherman es guarda al directori `~/.config/fish/functions/fisher.fish`.
fisherman es guarda al directori *~/.config/fish/functions/fisher.fish*.
La caché i configuracions són creades dins de `~/.cache/fisherman` i `~/.config/fisherman` respectivament.
La caché i configuracions són creades dins de *~/.cache/fisherman* i *~/.config/fisherman* respectivament.
El arxiu fishfile es guarda a `~/.config/fish/fishfile`.
El arxiu fishfile es guarda a *~/.config/fish/fishfile*.
### 6. Que és un arxiu fishfile i com el faig anar?
El arxiu fishfile `~/.config/fish/fishfile` llista tots els complements instal·lats.
El arxiu fishfile *~/.config/fish/fishfile* llista tots els complements instal·lats.
Pots deixar que en fisherman s'encarregui d'aquest arxiu per tu automaticament, o be escriure a dins els complements que vols instal·lar i llavors executar `fisher` per a aplicar els canvis.
@ -200,18 +200,18 @@ Busca dins de l'[organització] o fes anar la busqueda [en línia] per descobrir
Un complement es:
1. un directori o repositori de git amb una funció dins d'un arxiu `.fish` ja be a l'arrel del projecte o dins d'un directori `functions`
1. un directori o repositori de git amb una funció dins d'un arxiu *.fish* ja be a l'arrel del projecte o dins d'un directori *functions*
2. un tema o prompt, p.e., un `fish_prompt.fish`, `fish_right_prompt.fish` o ambdós
2. un tema o prompt, p.e., un *fish_prompt.fish*, *fish_right_prompt.fish* o ambdós
3. un retall, p.e., un o mes arxius `.fish` dins un directori anomenat `conf.d` que es evaluat per fish a l'arrencada de la consola de comandes.
3. un retall, p.e., un o mes arxius *.fish* dins un directori anomenat *conf.d* que es evaluat per fish a l'arrencada de la consola de comandes.
### 9. Com puc llistar complements com dependencies del meu complement?
Crea un nou arxiu `fishfile` a l'arrel del teu i escriu a dins les dependències del teu complement.
Crea un nou arxiu *fishfile* a l'arrel del teu i escriu a dins les dependències del teu complement.
### 2. ¿Cómo hago fish mi consola de comandos por defecto?
Añade fish a la lista de consolas de comandos en `/etc/shells`.
Añade fish a la lista de consolas de comandos en */etc/shells*.
```sh
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
@ -168,15 +168,15 @@ Sí.
### 5. ¿Dónde guarda fisherman sus cosas?
fisherman mismo esta en el archivo `~/.config/fish/functions/fisher.fish`.
fisherman mismo esta en el archivo *~/.config/fish/functions/fisher.fish*.
El caché y la configuración en `~/.cache/fisherman` y `~/.config/fisherman` respectivamente.
El caché y la configuración en *~/.cache/fisherman* y *~/.config/fisherman* respectivamente.
El archivo fishfile en `~/.config/fish/fishfile`.
El archivo fishfile en *~/.config/fish/fishfile*.
### 6. ¿Qué es el archivo fishfile y cómo lo uso?
El archivo fishfile `~/.config/fish/fishfile` contiene todos los paquetes que están instalados.
El archivo fishfile *~/.config/fish/fishfile* contiene todos los paquetes que están instalados.
Puedes dejar que fisherman se encargue de este archivo automáticamente, o incluir los paquetes que necesitas y ejecutar `fisher` para aplicar los cambios.
@ -197,18 +197,18 @@ Dirígete a la [organización] o usa la búsqueda [en línea] para descubrir con
Un paquete es:
1. un directorio o repositorio de git con una función / archivo `.fish` bien sea en el directorio raíz del proyecto o en un directorio llamado `functions`.
1. un directorio o repositorio de git con una función / archivo *.fish* bien sea en el directorio raíz del proyecto o en un directorio llamado *functions*.
2. un tema o prompt, es decir, `fish_prompt.fish`, `fish_right_prompt.fish` o ambos.
2. un tema o prompt, es decir, *fish_prompt.fish*, *fish_right_prompt.fish* o ambos.
3. un snippet, es decir, uno o más archivos `.fish` en un directorio llamado `conf.d` que son ejecutados por fish al iniciar la sesión.
3. un snippet, es decir, uno o más archivos *.fish* en un directorio llamado *conf.d* que son ejecutados por fish al iniciar la sesión.
### 9. ¿Cómo puedo añadir dependencias a mi plugin?
Crea un archivo `fishfile` en la carpeta raíz de tu plugin y incluye los paquetes en el.
Crea un archivo *fishfile* en la carpeta raíz de tu plugin y incluye los paquetes en el.
### 2. Como faço para tornar fish a minha consola predefinida?
Adicione fish à lista de consolas no ficheiro `/etc/shells` e defina-a como a sua consola por omissão usando os seguintes comandos.
Adicione fish à lista de consolas no ficheiro */etc/shells* e defina-a como a sua consola por omissão usando os seguintes comandos.
```sh
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
@ -163,15 +163,15 @@ Sim.
### 5. Onde é que o fisherman guarda as suas coisas?
O fisherman é guardado no ficheiro `~/.config/fish/functions/fisher.fish`.
O fisherman é guardado no ficheiro *~/.config/fish/functions/fisher.fish*.
A cache e a configuração é guardada nos ficheiros `~/.cache/fisherman` e `~/.config/fisherman` respectivamente.
A cache e a configuração é guardada nos ficheiros *~/.cache/fisherman* e *~/.config/fisherman* respectivamente.
O ficheiro fishfile é guardado em `~/.config/fish/fishfile`.
O ficheiro fishfile é guardado em *~/.config/fish/fishfile*.
### 6. O que é o ficheiro fishfile e como é que eu o utilizo?
O ficheiro fishfile `~/.config/fish/fishfile` contém todos os plugins instalados.
O ficheiro fishfile *~/.config/fish/fishfile* contém todos os plugins instalados.
Pode deixar que fisherman tome conta deste ficheiro automaticamente, ou se quiser, pode adicionar os plugins manualmente ao ficheiro e no fim executar `fisher` para aplicar as alterações.
@ -192,18 +192,18 @@ Visite a [organização] ou use a pesquisa [online] para descobrir os plugins di
Um plugin é:
1. uma pasta local ou repositório git com uma função dentro de um ficheiro `.fish` na raiz da pasta ou repositório ou dentro de uma pasta chamada `functions`.
1. uma pasta local ou repositório git com uma função dentro de um ficheiro *.fish* na raiz da pasta ou repositório ou dentro de uma pasta chamada *functions*.
2. um tema ou um prompt, i.e, `fish_prompt.fish`, `fish_right_prompt.fish` ou ambos.
2. um tema ou um prompt, i.e, *fish_prompt.fish*, *fish_right_prompt.fish* ou ambos.
3. um snippet, i.e, um ou mais ficheiros `.fish` dentro de uma pasta chamada `conf.d` que são executados sempre por fish no arranque da consola.
3. um snippet, i.e, um ou mais ficheiros *.fish* dentro de uma pasta chamada *conf.d* que são executados sempre por fish no arranque da consola.
### 9. Como posso definir plugins como dependências do meu plugin?
Crie um ficheiro `fishfile` na raiz do seu projecto e adicione ao ficheiros as dependências.
Crie um ficheiro *fishfile* na raiz do seu projecto e adicione ao ficheiros as dependências.
### 2. Как сделать fish основной командной оболочкой?
Добавьте fish в список командных оболочек `/etc/shells` и сделайте её оболочкой по умолчанию.
Добавьте fish в список командных оболочек */etc/shells* и сделайте её оболочкой по умолчанию.
```sh
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
@ -163,15 +163,15 @@ fisher self-uninstall
### 5. Где fisherman хранит данные?
Скрипт fisherman находится в `~/.config/fish/functions/fisher.fish`.
Скрипт fisherman находится в *~/.config/fish/functions/fisher.fish*.
Кэш и настройки плагинов создаются в `~/.cache/fisherman` и `~/.config/fisherman` соответственно.
Кэш и настройки плагинов создаются в *~/.cache/fisherman* и *~/.config/fisherman* соответственно.
fishfile сохраняется в `~/.config/fish/fishfile`.
fishfile сохраняется в *~/.config/fish/fishfile*.
### 6. Что такое fishfile и как я могу его использовать?
В`~/.config/fish/fishfile` хранится список всех установленных плагинов.
В*~/.config/fish/fishfile* хранится список всех установленных плагинов.
fisherman обновляет этот файл автоматически, но вы также можете добавить плагины в список вручную и запустить `fisher`, чтобы эти изменения вступили в силу.
@ -192,18 +192,18 @@ omf/grc
Плагином является:
1. каталог или git репозиторий с файлом `.fish` либо на корневом уровне проекта, либо в директории `functions`
1. каталог или git репозиторий с файлом *.fish* либо на корневом уровне проекта, либо в директории *functions*
2. тема или оформление командной строки, т.е. `fish_prompt.fish`, `fish_right_prompt.fish` или оба файла
2. тема или оформление командной строки, т.е. *fish_prompt.fish*, *fish_right_prompt.fish* или оба файла
3. сниппет, т.е. один или несколько `.fish` файлов в директории `conf.d`, которые загружаются при запуске fish
3. сниппет, т.е. один или несколько *.fish* файлов в директории *conf.d*, которые загружаются при запуске fish
### 9. Как я могу объявить зависимости моего плагина?
Создайте новый `fishfile` в корне вашего проекта со списком зависимостей.
Создайте новый *fishfile* в корне вашего проекта со списком зависимостей.