Commit Graph

85 Commits

Author SHA1 Message Date
Jorge Bucaran
41a0b0e032
Fix broken index update with plugins missing an info field. 2016-05-07 03:56:32 +09:00
Jorge Bucaran
980498603d
2.6.3 2016-05-07 02:16:40 +09:00
Jorge Bucaran
1f6218bccc
Add 10 second timeout to index updates. 2016-05-07 02:12:36 +09:00
Jorge Bucaran
a39ff774e8
Improve tab completions, show 3rd parties, real paths, etc.
* Create completions for installed, third-party plugins. Close #260.
* Show real path in completion descriptions of local plugins. Close #261.
2016-05-07 02:08:21 +09:00
Jorge Bucaran
81dec12507
Bump to 2.6.2 📦 2016-05-06 03:32:07 +09:00
Jorge Bucaran
65e50706ae
Auto-complete local directories installed. 2016-05-06 03:31:38 +09:00
Jorge Bucaran
cbf2d57f86
2.6.1 🚢 2016-05-06 01:45:29 +09:00
Jorge Bucaran
d041f9ac99
Fix broken isatty stdout in fisher ls. 2016-05-06 01:45:12 +09:00
Jorge Bucaran
4ee6995c65
Bump to 2.6.0 📦 2016-05-06 01:22:52 +09:00
Jorge Bucaran
acf32dfe22
Auto-complete only fisher install with ls-remote output if available. Close #256. 2016-05-06 01:22:52 +09:00
Jorge Bucaran
1a5f2608db
Check if git, curl, etc., are installed before using them and inform the user. Close #253. 2016-05-06 01:22:52 +09:00
Jorge Bucaran
4ac3e19193
Drop blacklists for an org free of non-plugins. Closes #255. 2016-05-06 01:22:52 +09:00
Jorge Bucaran
a125d8158c
Auto-complete fisher [install] with ls-remote output if available. Close #256. 2016-05-06 01:22:52 +09:00
Jorge Bucaran
ed7e0c08e8
Do not hide installed plugins in fisher ls-remote. Close #250. 2016-05-06 01:22:52 +09:00
Jorge Bucaran
bc76864e17
No-column print in ls and ls-remote if piping isatty stdout. Close #249. 2016-05-06 01:22:52 +09:00
Jorge Bucaran
89e5616b02
Grammar. 2016-05-06 01:22:52 +09:00
detailyang
08ea67ddc3 Use command date +%s%3N in non OS X systems to get the epoch in ms. #252
* Define __fisher_get_epoch_in_ms on fisher.fish load and select
  command date if the user for systems other than OS X.
2016-05-05 13:16:23 +09:00
Jorge Bucaran
11d4b278c5
Bump to 2.5.0 📦 2016-05-03 03:26:55 +09:00
Jorge Bucaran
eb33459e4c
Use -R instead of -r with cp. 2016-05-03 03:26:20 +09:00
Jorge Bucaran
4a0582cb40
Increment dependency ref count if passed in the cli as argv.
To install `parent` with `child`, the user only needs to
enter `fisher parent`, but given the following scenario:

    fisher parent child

and before this commit, fisherman would fail to increase the
ref count of children because the function that calculates
missing dependencies would see that `child` is already in
the argv list.

The above, even if rare, is a valid use case, and `child`
should end up with a ref count of 2 instead of 1.
2016-05-03 02:55:21 +09:00
Jorge Bucaran
845aca5ee9
Remove distracting arrows from fetch message. 2016-05-02 20:15:17 +09:00
Jorge Bucaran
7295877895
Add plugin dependency reference counting. Close #226. 2016-05-02 20:02:20 +09:00
Jorge Bucaran
966d168dbc
Simplify plugin_is_prompt check. 2016-05-02 03:02:43 +09:00
Jorge Bucaran
b1f59fa699
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
a33dda7f9e
Simplify ls-remote usage instructions. 2016-05-02 01:58:55 +09:00
Jorge Bucaran
2db6a2106f
Update manpage instructions. 2016-05-02 01:55:01 +09:00
Jorge Bucaran
acc8126b65
Query __fisher functions and erase matches in self-uninstall. 2016-05-02 01:52:20 +09:00
Jorge Bucaran
6108ad452b
Do not overwrite fish_colors when updating current prompt. Fix #248. 2016-05-02 01:43:30 +09:00
Jorge Bucaran
ad6110ac66
Remove fetched plugins from the config when there is a fetch error. Fix #247. 2016-05-02 01:11:36 +09:00
Jorge Bucaran
487ffaca70
Parse config path glob in advance during completion step. 2016-05-01 18:24:54 +09:00
Jorge Bucaran
13a2643edd
Add undocumented self-uninstall alias to self-destroy. 2016-05-01 16:02:43 +09:00
Jorge Bucaran
76ee23d4c3
Unset color uvar if color is blank. 2016-05-01 15:53:22 +09:00
Jorge Bucaran
22b8cd1d55
Make spinner more noticeable. 2016-05-01 15:03:21 +09:00
Jorge Bucaran
4d0cf5dfb4
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
f6a25a32ef
Say 'pulled X commits' when updating. 2016-05-01 12:23:08 +09:00
Jorge Bucaran
40b6d295d9
Do not generate false color uvars if value is not previously set. 2016-05-01 11:56:59 +09:00
Jorge Bucaran
81966bb8fc
Bump to 2.4.1 📦 2016-05-01 03:19:44 +09:00
Jorge Bucaran
348f43fe54
Fix bug where undefined fish colors where set to incorrect values. Fix #246. 2016-05-01 03:19:25 +09:00
Jorge Bucaran
dae04ba336
Bump to 2.3.4 📦 2016-04-30 18:42:06 +09:00
Jorge Bucaran
27a46672d2
Do not rewrite fishfile in ls or ls-remote. 2016-04-30 18:41:13 +09:00
Jorge Bucaran
d387963fdb
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
f0b8514e4c
Bump to 2.3.3 📦 2016-04-30 04:12:13 +09:00
Jorge Bucaran
566cfa5d8b
Teach ls to handle multiple arguments. Close #243. 2016-04-30 04:11:51 +09:00
Jorge Bucaran
4b27433300
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
7d27777aca
Fix bug where main completions were getting overwritten. 2016-04-30 02:46:29 +09:00
Jorge Bucaran
f3573b35fe
Allow fisher without args to read from stdin if not a tty. Close #224. 2016-04-30 00:14:45 +09:00
Jorge Bucaran
c328543234
Add black list check when performing ls-remote completions. 2016-04-29 23:59:56 +09:00
Jorge Bucaran
0d075731fc
Bump to 2.3.1 📦 2016-04-29 22:41:11 +09:00
Jorge Bucaran
69bbcb0449
Do not update the index when performing ls-remote completions. 2016-04-29 22:41:11 +09:00
Jorge Bucaran
dc80ea96ba
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