fisher/package.json
Jorge Bucaran 227c2738b8
Ditch -F option in ln and simplify code introduced in #231.
ln -F is relevant only when the target is a directory, in which
case `ln` will delete the directory so that the link can occur.

In fisherman, we use links in only two places:

1. Linking files into .config/fish/{functions,completions}, and
2. Linking local plugins into the .config/fisherman

If my calculations are correct, we don't need -F in either case.

Both {functions/completions} never contain directories, so (1)
is probably safe. The fisherman config only contains directories
to installed plugins, so not using -F actually prevents the user
from overwriting a plugin currently installed with a local plugin.
2016-04-27 02:05:04 +09:00

31 lines
1.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "fisherman",
"description": "fish plugin manager",
"version": "2.1.12",
"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"
}