Commit graph

319 commits

Author SHA1 Message Date
Jorge Bucaran
151a50b0a1 Bump to 2.2.0 📦 2016-04-29 04:18:28 +09:00
Jorge Bucaran
65eb3b2967 Add new sub command ls-remote to list what plugins you can install.
Running fisher ls-remote will query the GitHub API for all the
repos in the fisherman org and retrieve the JSON file which is
saved to .cache/fisherman/.index.json.

This file is updated every half and hour whenever you run the
command again. This number is subject to change in the future
as we learn how people are actually using this option.

The ls-remote option can take --format=<fmt string> option used
to customize the list output.

By default, it shows only names and breaks it into columns as
wide as your terminal window.

<fmt string> can contain \t tabs or \n line breaks and one or
more of the following variables with information about plugins.

  *  %name
  *  %info
  *  %url
  *  %stars
2016-04-29 04:10:21 +09:00
Jorge Bucaran
d82a245300 Do not return 1 if fisher succeeds.
Other
 * Better logic when leaving early in case of a fail install.
 * Colorize task completion duration.
2016-04-28 14:36:18 +09:00
Jorge Bucaran
d1f9454afa Improve usage examples. 2016-04-28 01:11:48 +09:00
Jorge Bucaran
87805d0d75 Bump to 2.1.13 📦
* Use more appropriate wording when updating symlinks,
  instead of "skipped", use "synced", since symlinks
  are processed justs like regular plugins.
2016-04-27 07:49:23 +09:00
Jorge Bucaran
ef98a6dba8 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
6cbfb35798 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
c6feba5430 Bump to 2.1.11 📦 2016-04-27 01:22:53 +09:00
Jorge Bucaran
db3d7bb09d 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
c5078f8de4 Merge branch 'master' of https://github.com/fisherman/fisherman 2016-04-27 01:18:44 +09:00
detailyang
258b51ad0b Merge pull request #229 from detailyang/translation/9586ce9
keep sync with master
2016-04-26 22:43:41 +08:00
detailyang
9916031a7d keep sync with master 2016-04-26 22:34:17 +08:00
Alexey Alekhin
410c4310a8 Improved Russian translation of the docs 2016-04-26 14:50:26 +02:00
Markcial
cd9d088614 Added missing link to catalan docs to the main README file 2016-04-25 21:09:17 +02:00
Markcial
5b9b474c87 Added missing link to catalan docs to the main README file 2016-04-25 21:08:12 +02:00
Marc
77096e52b5 Update README.md
fix broken link, fix typo
2016-04-25 20:32:09 +02:00
Markcial
c5471eb5d6 Added catalan translation docs 2016-04-25 20:28:36 +02:00
Marc
13226dff3f Update README.md
Some minor tweaks for a more natural spanish
2016-04-25 19:38:57 +02:00
Jorge Bucaran
b5d69e9108 Move completions/fisher.fish creation to the top of the function. 2016-04-26 02:32:09 +09:00
Jorge Bucaran
2b5e27d63c Add note about upgrading from 1.5. Thanks @laughedelic. 2016-04-26 02:11:51 +09:00
Jorge Bucaran
73f7860f2e Fix broken links in docs. 2016-04-25 16:53:04 +09:00
dididi
69dc496444 Add Korean docs for 2.0 (#222) 2016-04-25 16:48:51 +09:00
Jorge Bucaran
0daa06d91f Bump to 2.1.10 📦 2016-04-25 14:20:49 +09:00
Jorge Bucaran
f1a1632deb Remove useless check for files that start with . in __fisher_list_plugin_directory. 2016-04-25 14:19:33 +09:00
Decors
9ff08e2d92 Fix `fisher ls <plugin>` incorrect directory display (#221) 2016-04-25 14:16:47 +09:00
Jorge Bucaran
d3d3652869 Bump to 2.1.9 📦 2016-04-24 15:25:52 +09:00
Jorge Bucaran
3dedb4d42d Do not flush fishfile if user types `fisher install`. Close #218. 2016-04-24 15:25:52 +09:00
detailyang
ddb83c7832 Improve Chinese docs 🇨🇳 (#220) 2016-04-24 14:52:03 +09:00
Sota Yamashtia
dd9bd2479e Improve Japanese docs 🇯🇵 (#219) 2016-04-24 14:04:21 +09:00
Jorge Bucaran
f4bf2c3ea6 Use standard build status badge. 2016-04-24 02:32:07 +09:00
Jorge Bucaran
c2a7535eb3 Simplify FAQ more, no one is asking those questions. 2016-04-24 02:27:13 +09:00
Jorge Bucaran
b29ef48549 Use slack badge with live status. 2016-04-24 02:24:39 +09:00
Jorge Bucaran
0b340dc852 Fix inaccurate post uninstall message again. 2016-04-24 02:09:46 +09:00
Jorge Bucaran
6bf39721aa Fix inaccurate post uninstall message. 2016-04-24 02:07:45 +09:00
Jorge Bucaran
04884301d0 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
543abf777f Try with preinstall to prevent weird dir changing with npm i. 2016-04-24 01:42:57 +09:00
Jorge Bucaran
65a7055d02 Add uninstall instructions, update docs. 2016-04-24 01:33:34 +09:00
Jorge Bucaran
2cb0aabdef Update npm install instructions to use `-g`. 2016-04-24 01:13:37 +09:00
Jorge Bucaran
fac4d717ff Add prefer global. 2016-04-24 01:11:33 +09:00
Jorge Bucaran
32bb7657f7 Correct npm install instructions 📦 in other docs. 2016-04-24 01:05:00 +09:00
Jorge Bucaran
bc2ca21995 Correct npm install instructions 📦. 2016-04-24 01:00:32 +09:00
Jorge Bucaran
45ea333ec3 Better user experience for `npm i fisherman` users. 2016-04-24 00:59:06 +09:00
Jorge Bucaran
619b164f31 Bump to 2.1.1 2016-04-23 22:28:40 +09:00
Jorge Bucaran
d50a9d1728 Don't return npm-debug.log calls. 2016-04-23 22:28:12 +09:00
Jorge Bucaran
e762e85de4 Make `fisher` command executable on npm install. 2016-04-23 22:27:31 +09:00
Jorge Bucaran
7615ed882b Bump to 2.1.0 2016-04-23 22:20:53 +09:00
Jorge Bucaran
415dd7a5f7 Add npm install instructions. 2016-04-23 22:20:53 +09:00
Jorge Bucaran
1756248ab2 Add package.json 📦. 2016-04-23 22:20:53 +09:00
Jorge Bucaran
d7fe153965 Do not self-destroy on a global setup. 2016-04-23 22:20:53 +09:00
Jorge Bucaran
df9b1bd996 Ignore node_modules. 2016-04-23 22:20:53 +09:00