mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-05 12:00:17 +00:00
Drop risky exec fish < /dev/tty for `npm i fisherman
`
in favor of displaying a message and ask the user to reload their shell.
This commit is contained in:
parent
8ff984106c
commit
bdc635b17f
@ -1,5 +1,5 @@
|
||||
function fisher
|
||||
set -g fisher_version "2.1.4"
|
||||
set -g fisher_version "2.1.6"
|
||||
set -g fisher_spinners ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
|
||||
|
||||
function __fisher_show_spinner
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "fisherman",
|
||||
"description": "fish plugin manager",
|
||||
"version": "2.1.5",
|
||||
"version": "2.1.6",
|
||||
"author": "Jorge Bucaran",
|
||||
"homepage": "https://github.com/fisherman/fisherman",
|
||||
"bugs": "https://github.com/fisherman/fisherman/issues",
|
||||
@ -15,8 +15,8 @@
|
||||
"package manager"
|
||||
],
|
||||
"scripts": {
|
||||
"preinstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; cp -f fisher.fish \"$i/fisher.fish\"; exec fish < /dev/tty",
|
||||
"preuninstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; rm -f \"$i/fisher.fish\"; exec fish < /dev/tty"
|
||||
"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 reload your shell to start using fisherman.\\033[0m'"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user