Commit graph

366 commits

Author SHA1 Message Date
Jorge Bucaran
0309ed11f7 Remove distracting arrows from fetch message. 2016-05-02 20:15:17 +09:00
Jorge Bucaran
84af062804 Add plugin dependency reference counting. Close #226. 2016-05-02 20:02:20 +09:00
Jorge Bucaran
3fb0448aef Simplify plugin_is_prompt check. 2016-05-02 03:02:43 +09:00
Jorge Bucaran
fb0bd0213e Use perl or python (whichever is available and in that order) to check index age. 2016-05-02 02:54:45 +09:00
Jorge Bucaran
53c1ffcdbe Remove links to other translations inside translations. 2016-05-02 02:12:56 +09:00
Jorge Bucaran
28eb783d8c Simplify ls-remote usage instructions. 2016-05-02 01:58:55 +09:00
Jorge Bucaran
b69eca6a28 Update manpage instructions. 2016-05-02 01:55:01 +09:00
Jorge Bucaran
9346e95bd1 Instructions. 2016-05-02 01:54:19 +09:00
Jorge Bucaran
7b1602df0a Query __fisher functions and erase matches in self-uninstall. 2016-05-02 01:52:20 +09:00
Jorge Bucaran
0247f3ef8c Do not overwrite fish_colors when updating current prompt. Fix #248. 2016-05-02 01:43:30 +09:00
Jorge Bucaran
ccbdc42b7a Remove fetched plugins from the config when there is a fetch error. Fix #247. 2016-05-02 01:11:36 +09:00
Jorge Bucaran
2cbe6b6b53 Parse config path glob in advance during completion step. 2016-05-01 18:24:54 +09:00
Jorge Bucaran
0df81482c8 Add undocumented self-uninstall alias to self-destroy. 2016-05-01 16:02:43 +09:00
Jorge Bucaran
406ba96a00 Unset color uvar if color is blank. 2016-05-01 15:53:22 +09:00
Jorge Bucaran
d646e37bef Make spinner more noticeable. 2016-05-01 15:03:21 +09:00
Jorge Bucaran
0219a4a618 Run file age check, only if we can get a value from __fisher_get_file_age.
This probably means the user does not have python installed on their
system and we will be download the index every time the user runs
ls-remote.

A more sensitive, python-less solution to check file age since the last
time the file was modified should be more desirable.
2016-05-01 12:37:29 +09:00
Jorge Bucaran
b8884dc3e0 Say 'pulled X commits' when updating. 2016-05-01 12:23:08 +09:00
Jorge Bucaran
89daf29f46 Do not generate false color uvars if value is not previously set. 2016-05-01 11:56:59 +09:00
Jorge Bucaran
2317d88440 Bump to 2.4.1 📦 2016-05-01 03:19:44 +09:00
Jorge Bucaran
4f7b59e332 Fix bug where undefined fish colors where set to incorrect values. Fix #246. 2016-05-01 03:19:25 +09:00
Jorge Bucaran
cfa2df247e Bump to 2.3.4 📦 2016-04-30 18:42:06 +09:00
Jorge Bucaran
ea34626b40 Do not rewrite fishfile in ls or ls-remote. 2016-04-30 18:41:13 +09:00
Jorge Bucaran
b32442f480 Make fisher install behave like fisher when not on the right
side of a pipe. Correct fix for #218.
2016-04-30 18:38:56 +09:00
Jorge Bucaran
b3c604c43b Bump to 2.3.3 📦 2016-04-30 04:12:13 +09:00
Jorge Bucaran
986ea3741e Teach ls to handle multiple arguments. Close #243. 2016-04-30 04:11:51 +09:00
Jorge Bucaran
5133e180bb Match multiple keys with ls-remote [--format=fmt_str] k1 k2 k3
Also fix regression in ls-remote that was displaying both
installed and remote plugins.
2016-04-30 04:00:44 +09:00
Jorge Bucaran
b6c6bbbba1 Fix bug where main completions were getting overwritten. 2016-04-30 02:46:29 +09:00
Fábio Antunes
1da85d022f Add Portuguese translation (#240)
* Add Portuguese translation.

* Added Portuguese to the other languages.
2016-04-30 02:46:12 +09:00
Jorge Bucaran
220afc4c29 Allow fisher without args to read from stdin if not a tty. Close #224. 2016-04-30 00:14:45 +09:00
Jorge Bucaran
ef19df1e71 Add black list check when performing ls-remote completions. 2016-04-29 23:59:56 +09:00
Jorge Bucaran
9328494d8e Bump to 2.3.1 📦 2016-04-29 22:41:11 +09:00
Jorge Bucaran
f8390474be Do not update the index when performing ls-remote completions. 2016-04-29 22:41:11 +09:00
Jorge Bucaran
67b981166c Download the JSON data from GitHub and transform it into a tab
delimited, awk-friendy format and put it in .cache/.index.

During the process, sort the data also. This way, don't need
to repeat the same process every time we run ls-remote.

Add completions for ls-remote with plugin name and info.
2016-04-29 22:41:11 +09:00
Alexey Alekhin
26badac1b9 Updated Russian docs for v2.2.0 (#237)
* Updated 🇷🇺 Russian docs (see changes in a70d48b)
* Minor wording fix ("use ... using")
* Reflected changes from a0805bb and efc1946; added links to fish and fishfile
* Removed upgrade instructions (see #241)
2016-04-29 13:40:41 +02:00
Jorge Bucaran
f4e5f308aa Fix broken link to fish-shell. 2016-04-29 20:10:36 +09:00
detailyang
7fa1535761 Merge pull request #239 from detailyang/translation/579f244
update Chinese README.md
2016-04-29 17:17:31 +08:00
Jorge Bucaran
6af33d75d8 Remove uninstall instructions via npm. 2016-04-29 18:11:41 +09:00
detailyang
d36664978c update Chinese README.md 2016-04-29 16:59:10 +08:00
Jorge Bucaran
a2f8820a4e Remove 1.5 upgrade instructions from README. 2016-04-29 17:37:20 +09:00
Jorge Bucaran
ce47842cd6 Remove npm install instructions from README. 2016-04-29 17:36:43 +09:00
Jorge Bucaran
fc0676d4e1 Remove install instructions via npm.
Installing with npm works 9 out of 10 times. This may be due to
the post-install hook hack set in order to move fisher.fish into
the user functions directory.

The simplest and best way to install fisherman is by putting the
fisher.fish file in your functions directory.
2016-04-29 17:33:25 +09:00
Jorge Bucaran
dadae12cae Bump to 2.3.0 📦 2016-04-29 17:33:25 +09:00
Jorge Bucaran
5f464e79d1 Put back link to fish-shell. 2016-04-29 17:33:25 +09:00
Jorge Bucaran
631e825f85 Add line breaks and run other post processing on the JSON response
when updating the index for ls-remote.

Allow ls-remote to accept a key and always print record if it
matches the plugin's name. Works with the format string too.

Close #234, #236, #238
2016-04-29 17:33:25 +09:00
Marc
6b041b2207 Update README.md 2016-04-29 08:18:49 +02:00
Marc
9215c88189 Update README.md 2016-04-29 08:15:02 +02:00
Jorge Bucaran
5687a9b89d Add usage instructions for ls-remote + other tweaks. 2016-04-29 04:21:58 +09:00
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