From 8b76477f85d2ef051f722d1520e7b29a8ad3aa7f Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Fri, 29 Apr 2016 17:31:31 +0900 Subject: [PATCH] Remove install instructions via npm. Installing with npm works 9 out of 10 times. This may be due to the post-install hook hack set in order to move fisher.fish into the user functions directory. The simplest and best way to install fisherman is by putting the fisher.fish file in your functions directory. --- docs/ca-ES/README.md | 6 ------ docs/es-ES/README.md | 6 ------ docs/jp-JA/README.md | 6 ------ docs/ko-KR/README.md | 6 ------ docs/ru-RU/README.md | 6 ------ docs/zh-CN/README.md | 6 ------ package.json | 30 ------------------------------ 7 files changed, 66 deletions(-) delete mode 100644 package.json diff --git a/docs/ca-ES/README.md b/docs/ca-ES/README.md index 19e8480..608898e 100644 --- a/docs/ca-ES/README.md +++ b/docs/ca-ES/README.md @@ -45,12 +45,6 @@ Amb curl. curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman ``` -Amb npm. - -``` -npm i -g fisherman -``` - Si encara estàs fent anar la versió 1.5 i vols actualitzar a >2.0 sense mes preocupació. ``` diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md index c836af5..1bdb105 100644 --- a/docs/es-ES/README.md +++ b/docs/es-ES/README.md @@ -44,12 +44,6 @@ Via curl. curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman ``` -Via npm. - -``` -npm i -g fisherman -``` - ## Modo de uso Instalar paquetes. diff --git a/docs/jp-JA/README.md b/docs/jp-JA/README.md index 5fe42c2..74e07cb 100644 --- a/docs/jp-JA/README.md +++ b/docs/jp-JA/README.md @@ -44,12 +44,6 @@ curl: curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman ``` -npm: - -``` -npm i -g fisherman -``` - ## 使い方 プラグインをインストール: diff --git a/docs/ko-KR/README.md b/docs/ko-KR/README.md index 5bbc3cf..b1788a2 100644 --- a/docs/ko-KR/README.md +++ b/docs/ko-KR/README.md @@ -44,12 +44,6 @@ curl를 통한 설치: curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman ``` -npm을 통한 설치: - -``` -npm i -g fisherman -``` - ## 사용법 플러그인 설치: diff --git a/docs/ru-RU/README.md b/docs/ru-RU/README.md index e72300d..5b15b78 100644 --- a/docs/ru-RU/README.md +++ b/docs/ru-RU/README.md @@ -45,12 +45,6 @@ fisherman это параллельный менеджер плагинов дл curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman ``` -Используя npm: - -```sh -npm i -g fisherman -``` - Если вы ещё используете версию 1.5 и хотите обновиться до >2.0 без особых хлопот: ``` diff --git a/docs/zh-CN/README.md b/docs/zh-CN/README.md index d12fe38..344edaa 100644 --- a/docs/zh-CN/README.md +++ b/docs/zh-CN/README.md @@ -44,12 +44,6 @@ fisherman 是一款零配置,并发的 [fish shell] 插件管理器。 curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman ``` -使用npm。 - -```sh -npm i -g fisherman -``` - 如果你仍然在使用 fisherman 1.5 并且想轻松升级到 2.0以上, 可以执行以下命令 ```sh curl -L git.io/fisher-up-me | fish diff --git a/package.json b/package.json deleted file mode 100644 index 2e26af0..0000000 --- a/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "fisherman", - "description": "fish plugin manager", - "version": "2.1.13", - "author": "Jorge Bucaran", - "homepage": "https://github.com/fisherman/fisherman", - "bugs": "https://github.com/fisherman/fisherman/issues", - "keywords": [ - "install", - "plugins", - "parallel", - "concurrent", - "fish", - "fish-shell", - "package manager" - ], - "scripts": { - "postinstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; cp -f fisher.fish \"$i/fisher.fish\"; echo '\\033[47m\\033[30mPlease reload your shell to start using fisherman.\\033[0m'", - "preuninstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; rm -f \"$i/fisher.fish\"; echo '\\033[47m\\033[30mPlease run ``functions -e fisher´´ to unload fisherman from the session.\\033[0m'" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/fisherman/fisherman.git" - }, - "preferGlobal": true, - "engines": { - "node": "*" - }, - "license": "MIT" -}