Commit graph

314 commits

Author SHA1 Message Date
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
Scott Bonds 92242e7aa8 Check OS and use appropriate `ln` options (#231)
Note: OpenBSD's ln does not support the -F flag.
2016-04-27 01:33:29 +09:00
Jorge Bucaran df94db62dd
Bump to 2.1.11 📦 2016-04-27 01:22:53 +09:00
Jorge Bucaran 39f39d018a
Overwrite cached plugin after updating copy in the config.
The previous implementation was creating a nested copy of
the target directory (updated plugin) inside the cached
copy.

After some research, I believe there are two things we
can do here:

1. Remove the target and create a new copy or

2. Use the following syntax

      cp -rf src_dir/. target_dir

   which seems to do what we want, overwrite target with
   source entirely.
2016-04-27 01:19:27 +09:00
Jorge Bucaran 95dea2204a
Merge branch 'master' of https://github.com/fisherman/fisherman 2016-04-27 01:18:44 +09:00
detailyang 5b43777b66 Merge pull request #229 from detailyang/translation/9586ce9
keep sync with master
2016-04-26 22:43:41 +08:00
detailyang 437e424426 keep sync with master 2016-04-26 22:34:17 +08:00
Alexey Alekhin 3f08ef0ba7 Improved Russian translation of the docs 2016-04-26 14:50:26 +02:00
Markcial 52eb9a71fd Added missing link to catalan docs to the main README file 2016-04-25 21:09:17 +02:00
Markcial c2d0b59a04 Added missing link to catalan docs to the main README file 2016-04-25 21:08:12 +02:00
Marc 75cafe8140 Update README.md
fix broken link, fix typo
2016-04-25 20:32:09 +02:00
Markcial 878a65f347 Added catalan translation docs 2016-04-25 20:28:36 +02:00
Marc fa2cb0858a Update README.md
Some minor tweaks for a more natural spanish
2016-04-25 19:38:57 +02:00
Jorge Bucaran b60ea9ee8e
Move completions/fisher.fish creation to the top of the function. 2016-04-26 02:32:09 +09:00
Jorge Bucaran 4f9d628a9e
Add note about upgrading from 1.5. Thanks @laughedelic. 2016-04-26 02:11:51 +09:00
Jorge Bucaran ee6a805ef6
Fix broken links in docs. 2016-04-25 16:53:04 +09:00
dididi b91c926992 Add Korean docs for 2.0 (#222) 2016-04-25 16:48:51 +09:00
Jorge Bucaran 6a5099df96
Bump to 2.1.10 📦 2016-04-25 14:20:49 +09:00
Jorge Bucaran cddf8b1f87
Remove useless check for files that start with . in __fisher_list_plugin_directory. 2016-04-25 14:19:33 +09:00
Decors e2de415090 Fix `fisher ls <plugin>` incorrect directory display (#221) 2016-04-25 14:16:47 +09:00
Jorge Bucaran d6514f77f4
Bump to 2.1.9 📦 2016-04-24 15:25:52 +09:00
Jorge Bucaran a338656cb8
Do not flush fishfile if user types `fisher install`. Close #218. 2016-04-24 15:25:52 +09:00
detailyang 370d7aeec9 Improve Chinese docs 🇨🇳 (#220) 2016-04-24 14:52:03 +09:00
Sota Yamashtia 0f36966ec3 Improve Japanese docs 🇯🇵 (#219) 2016-04-24 14:04:21 +09:00
Jorge Bucaran 7b82204fce
Use standard build status badge. 2016-04-24 02:32:07 +09:00
Jorge Bucaran 133055b926
Simplify FAQ more, no one is asking those questions. 2016-04-24 02:27:13 +09:00
Jorge Bucaran d729c88567
Use slack badge with live status. 2016-04-24 02:24:39 +09:00
Jorge Bucaran e52cf77287
Fix inaccurate post uninstall message again. 2016-04-24 02:09:46 +09:00
Jorge Bucaran 2ffe8ee7f1
Fix inaccurate post uninstall message. 2016-04-24 02:07:45 +09:00
Jorge Bucaran bdc635b17f
Drop risky exec fish < /dev/tty for `npm i fisherman`
in favor of displaying a message and ask the user to
reload their shell.
2016-04-24 01:55:38 +09:00
Jorge Bucaran 8ff984106c
Try with preinstall to prevent weird dir changing with npm i. 2016-04-24 01:42:57 +09:00
Jorge Bucaran eef50fcd09
Add uninstall instructions, update docs. 2016-04-24 01:33:34 +09:00
Jorge Bucaran fd7374f212
Update npm install instructions to use `-g`. 2016-04-24 01:13:37 +09:00
Jorge Bucaran eecc170cc9
Add prefer global. 2016-04-24 01:11:33 +09:00
Jorge Bucaran 86f04004a8
Correct npm install instructions 📦 in other docs. 2016-04-24 01:05:00 +09:00
Jorge Bucaran 1c80de4d47
Correct npm install instructions 📦. 2016-04-24 01:00:32 +09:00
Jorge Bucaran 006673ee73
Better user experience for `npm i fisherman` users. 2016-04-24 00:59:06 +09:00
Jorge Bucaran f6fb86cba3
Bump to 2.1.1 2016-04-23 22:28:40 +09:00
Jorge Bucaran b583908679
Don't return npm-debug.log calls. 2016-04-23 22:28:12 +09:00
Jorge Bucaran c99a440969
Make `fisher` command executable on npm install. 2016-04-23 22:27:31 +09:00
Jorge Bucaran c9c9af9e17
Bump to 2.1.0 2016-04-23 22:20:53 +09:00
Jorge Bucaran e977175f2c
Add npm install instructions. 2016-04-23 22:20:53 +09:00
Jorge Bucaran 059a565b80
Add package.json 📦. 2016-04-23 22:20:53 +09:00
Jorge Bucaran a5f2a79db9
Do not self-destroy on a global setup. 2016-04-23 22:20:53 +09:00
Jorge Bucaran 89b3a3665e
Ignore node_modules. 2016-04-23 22:20:53 +09:00
Denis Denisov 9c1464fdb0 Add Russian docs for 2.0 (#209) 2016-04-23 17:34:24 +09:00
Jorge Bucaran 8a03596afc
Underline url links in manpage. 2016-04-23 15:51:16 +09:00
Jorge Bucaran aea5d7b1db
Remove repeated definition from manpage. 2016-04-23 15:47:58 +09:00
Jorge Bucaran 948f815980
Reword FAQ#1 question. 2016-04-23 15:46:57 +09:00
Jorge Bucaran 5456f1994c
Remove another useless question from FAQ. 2016-04-23 15:44:15 +09:00