Add uninstall instructions, update docs.

This commit is contained in:
Jorge Bucaran 2016-04-24 01:33:34 +09:00
parent fd7374f212
commit eef50fcd09
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30
7 changed files with 48 additions and 19 deletions

View file

@ -157,12 +157,16 @@ chsh -s /usr/local/bin/fish
### 3. How do I uninstall fisherman?
Run
```fish
fisher self-uninstall
```
or
```
npm un -g fisherman
```
### 4. Is fisherman compatible with oh my fish themes and plugins?
Yes.

View file

@ -11,6 +11,7 @@
[English]: ../../README.md
[简体中文]: ../zh-CN
[日本語]: ../jp-JA
[Русский]: ../ru-RU
[![Build Status][travis-badge]][travis-link]
[![Slack][slack-badge]][slack-link]
@ -19,7 +20,7 @@
fisherman es un gestionador de paquetes para el [fish shell] de procesamiento en paralelo.
Lee este documento en otro idioma: [English], [日本語], [简体中文].
Lee este documento en otro idioma: [English], [日本語], [简体中文], [Русский].
## Motivo
@ -162,6 +163,12 @@ Entra
fisher self-uninstall
```
or
```fish
npm un -g fisherman
```
### 4. ¿Es fisherman compatible con paquetes y temas de oh my fish?
Sí.

View file

@ -11,6 +11,7 @@
[English]: ../../README.md
[Español]: ../es-ES
[简体中文]: ../zh-CN
[Русский]: ..//ru-RU
[![Build Status][travis-badge]][travis-link]
[![Slack][slack-badge]][slack-link]
@ -19,7 +20,7 @@
fishermanとは、フィッシュシェルのための並列処理パッケージマネージャーである。
翻訳: [English], [Español], [简体中文].
翻訳: [English], [Español], [简体中文], [Русский].
## 理由
@ -156,12 +157,16 @@ chsh -s /usr/local/bin/fish
### 3. fishermanを削除する方法とは
はい。
```fish
fisher self-uninstall
```
もしくは
```fish
npm un -g fisherman
```
### 4. oh-my-fishのプラグインとテーマに対応ですか
対応です。

View file

@ -9,10 +9,10 @@
[онлайн]: http://fisherman.sh/#search
[English]: ../../README.md
[Español]: docs/es-ES
[简体中文]: docs/zh-CN
[日本語]: docs/jp-JA
[Русский]: docs/ru-RU
[Español]: ../es-ES
[简体中文]: ../zh-CN
[日本語]: ../jp-JA
[Русский]: ../ru-RU
[![Build Status][travis-badge]][travis-link]
[![Slack][slack-badge]][slack-link]
@ -39,13 +39,13 @@ fisherman это параллельный менеджер плагинов дл
## Установка
Скопируйте `fisher.fish` в `~/.config/fish/functions` каталог и все.
C curl.
```sh
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
```
npm.
C npm.
```sh
npm i -g fisherman
@ -85,7 +85,7 @@ fisher ~/my_aliases
Использовать в интерактивном-режиме. Редактировать fishfile и запустить `fisher`, чтобы удовлетворить изменения.
> [Что такое fishfile и как я могу его использовать?](#6-what-is-a-fishfile-and-how-do-i-use-it)
> [Что такое fishfile и как я могу его использовать?](#6-Что-такое-fishfile-и-как-я-могу-его-использовать)
```sh
$EDITOR fishfile # добавить плагины
@ -139,7 +139,7 @@ fisher help z
### 1. Какая версия fish необходима?
fisherman был построен для рыб >= 2.3.0. Если вы используете 2.2.0, добавьте следующий код в ваш `~/.config/fish/config.fish` для [сниппет](#8-what-is-a-plugin) поддержки.
fisherman был построен для рыб >= 2.3.0. Если вы используете 2.2.0, добавьте следующий код в ваш `~/.config/fish/config.fish` для [сниппет](#8-Что-такое-плагин) поддержки.
```fish
for file in ~/.config/fish/conf.d/*.fish
@ -164,6 +164,12 @@ chsh -s /usr/local/bin/fish
fisher self-uninstall
```
или
```fish
npm un -g fisherman
```
### 4. Совместим fisherman с oh my fish темами и плагины?
Да.

View file

@ -11,6 +11,7 @@
[English]: ../../README.md
[Español]: ../es-ES
[日本語]: ../jp-JA
[Русский]: ../ru-RU
[![Build Status][travis-badge]][travis-link]
[![Slack][slack-badge]][slack-link]
@ -19,7 +20,7 @@
fisherman 是一款零配置,并发的 [fish shell] 插件管理器。
选择不同语言版本的文档: [Español], [日本語], [English]。
选择不同语言版本的文档: [Español], [日本語], [English], [Русский]
##为什么使用fisherman
@ -163,6 +164,12 @@ chsh -s /usr/local/bin/fish
fisher self-uninstall
```
or
```fish
npm un -g fisherman
```
### 4. fisherman 兼容已有的 fish 主题和插件吗?
是的。

View file

@ -1,5 +1,5 @@
function fisher
set -g fisher_version "2.1.3"
set -g fisher_version "2.1.4"
set -g fisher_spinners ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
function __fisher_show_spinner

View file

@ -1,7 +1,7 @@
{
"name": "fisherman",
"description": "fish plugin manager",
"version": "2.1.3",
"version": "2.1.4",
"author": "Jorge Bucaran",
"homepage": "https://github.com/fisherman/fisherman",
"bugs": "https://github.com/fisherman/fisherman/issues",
@ -15,8 +15,8 @@
"package manager"
],
"scripts": {
"postinstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; cp -f fisher.fish \"$i/fisher.fish\"; exec fish < /dev/tty",
"postuninstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; rm -f \"$i/fisher.fish\"; exec fish < /dev/tty"
"install": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; cp -f fisher.fish \"$i/fisher.fish\"; exec fish < /dev/tty",
"uninstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; rm -f \"$i/fisher.fish\"; exec fish < /dev/tty"
},
"repository": {
"type": "git",