mirror of
https://github.com/jorgebucaran/fisher
synced 2024-09-10 15:07:40 +02:00
Better user experience for `npm i fisherman
` users.
This commit is contained in:
parent
619b164f31
commit
45ea333ec3
2 changed files with 4 additions and 7 deletions
2
fisher.fish
Executable file → Normal file
2
fisher.fish
Executable file → Normal file
|
@ -1,5 +1,5 @@
|
|||
function fisher
|
||||
set -g fisher_version "2.1.1"
|
||||
set -g fisher_version "2.1.3"
|
||||
set -g fisher_spinners ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
|
||||
|
||||
function __fisher_show_spinner
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "fisherman",
|
||||
"description": "fish plugin manager",
|
||||
"version": "2.1.1",
|
||||
"version": "2.1.3",
|
||||
"author": "Jorge Bucaran",
|
||||
"homepage": "https://github.com/fisherman/fisherman",
|
||||
"bugs": "https://github.com/fisherman/fisherman/issues",
|
||||
|
@ -14,13 +14,10 @@
|
|||
"fish-shell",
|
||||
"package manager"
|
||||
],
|
||||
"bin": {
|
||||
"fisher": "./fisher.fish"
|
||||
},
|
||||
"scripts": {
|
||||
"install": "awk 'BEGIN { print(\"#!/usr/bin/env fish\") } { print($0) } END { print(\"fisher $argv\") }' < fisher.fish > fisher.fish_; mv fisher.fish_ fisher.fish; chmod +x fisher.fish"
|
||||
"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"
|
||||
},
|
||||
"preferGlobal": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/fisherman/fisherman.git"
|
||||
|
|
Loading…
Reference in a new issue