mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
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.
This commit is contained in:
parent
5296558711
commit
8b76477f85
7 changed files with 0 additions and 66 deletions
|
@ -45,12 +45,6 @@ Amb curl.
|
||||||
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
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ó.
|
Si encara estàs fent anar la versió 1.5 i vols actualitzar a >2.0 sense mes preocupació.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -44,12 +44,6 @@ Via curl.
|
||||||
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
||||||
```
|
```
|
||||||
|
|
||||||
Via npm.
|
|
||||||
|
|
||||||
```
|
|
||||||
npm i -g fisherman
|
|
||||||
```
|
|
||||||
|
|
||||||
## Modo de uso
|
## Modo de uso
|
||||||
|
|
||||||
Instalar paquetes.
|
Instalar paquetes.
|
||||||
|
|
|
@ -44,12 +44,6 @@ curl:
|
||||||
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
||||||
```
|
```
|
||||||
|
|
||||||
npm:
|
|
||||||
|
|
||||||
```
|
|
||||||
npm i -g fisherman
|
|
||||||
```
|
|
||||||
|
|
||||||
## 使い方
|
## 使い方
|
||||||
|
|
||||||
プラグインをインストール:
|
プラグインをインストール:
|
||||||
|
|
|
@ -44,12 +44,6 @@ curl를 통한 설치:
|
||||||
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
||||||
```
|
```
|
||||||
|
|
||||||
npm을 통한 설치:
|
|
||||||
|
|
||||||
```
|
|
||||||
npm i -g fisherman
|
|
||||||
```
|
|
||||||
|
|
||||||
## 사용법
|
## 사용법
|
||||||
|
|
||||||
플러그인 설치:
|
플러그인 설치:
|
||||||
|
|
|
@ -45,12 +45,6 @@ fisherman это параллельный менеджер плагинов дл
|
||||||
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
||||||
```
|
```
|
||||||
|
|
||||||
Используя npm:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm i -g fisherman
|
|
||||||
```
|
|
||||||
|
|
||||||
Если вы ещё используете версию 1.5 и хотите обновиться до >2.0 без особых хлопот:
|
Если вы ещё используете версию 1.5 и хотите обновиться до >2.0 без особых хлопот:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -44,12 +44,6 @@ fisherman 是一款零配置,并发的 [fish shell] 插件管理器。
|
||||||
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
|
||||||
```
|
```
|
||||||
|
|
||||||
使用npm。
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm i -g fisherman
|
|
||||||
```
|
|
||||||
|
|
||||||
如果你仍然在使用 fisherman 1.5 并且想轻松升级到 2.0以上, 可以执行以下命令
|
如果你仍然在使用 fisherman 1.5 并且想轻松升级到 2.0以上, 可以执行以下命令
|
||||||
```sh
|
```sh
|
||||||
curl -L git.io/fisher-up-me | fish
|
curl -L git.io/fisher-up-me | fish
|
||||||
|
|
30
package.json
30
package.json
|
@ -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"
|
|
||||||
}
|
|
Loading…
Reference in a new issue