Commit graph

752 commits

Author SHA1 Message Date
Jorge Bucaran ce6072f907
Small docs tweaks 2020-11-09 21:56:23 +09:00
Jorge Bucaran 67aa8ed7c7
Refactor var names 2020-11-07 04:16:07 +09:00
Jorge Bucaran b808e7318a
Fix bug breaking local plugins where name ends in .fish 2020-11-07 04:15:07 +09:00
Jorge Bucaran 210db6a46b
Remove plugins that failed to fetch from installed count 2020-11-07 03:34:55 +09:00
Jorge Bucaran f5ae081036
Better error messages and code readability 2020-11-07 02:03:18 +09:00
Jorge Bucaran 32781c42dc
Add fisher update to usage 2020-11-06 20:45:56 +09:00
Jorge Bucaran e5d10e0fe6
Write fish_plugins only if there are plugins, else remove it 2020-11-06 18:06:16 +09:00
Jorge Bucaran 6e3b9d8023
Load completions at completion rather than load time
What happens when we install a new plugin or remove
an existing plugin? If we don't reload completions,
Fish won't be able to tab-complete for installed or
removed plugins, e.g., continue tab-completing when
they are no longer installed.

By loading `update` and `remove` completions at
completion load time we now invoke `fisher list`
every time the user tabs after `fisher update`
or `fisher remove`.
2020-11-06 17:19:10 +09:00
Jorge Bucaran dcbf55956e
Don't need to worry about scope inside job 2020-11-06 03:14:13 +09:00
Jorge Bucaran f9b91779f3
Tweak report message 2020-11-06 01:55:12 +09:00
Jorge Bucaran 5e454f63bf
Silently accept ls, rm as undocumented aliases for list, remove 2020-11-06 01:04:47 +09:00
Jorge Bucaran 47ba393569
Remove fish_plugins if the file becomes empty 2020-11-06 01:01:44 +09:00
Jorge Bucaran e8c48262e1
More deprecation tweaks 2020-11-05 18:27:46 +09:00
Jorge Bucaran 3f0138c097
Refactor add/ls/rm deprecation notice 2020-11-05 17:23:18 +09:00
Jorge Bucaran 479bb3cd36
Tweak error messages 2020-11-05 15:09:55 +09:00
Jorge Bucaran 07b7fc79d7
Remove, then install during fisher update, fix #600
Prompts' `fish_*.fish` files get removed during a
full update when you try to replace your existing
prompt with a new one.

For example, during a `fisher update`, if we install
`foo/new_prompt` first, and remove `foo/old_prompt`
afterm we could end up without a fish_prompt file.
2020-11-05 14:34:24 +09:00
Jorge Bucaran fa598b1ed6
fish_prompt fallback check needs to be done only once 2020-11-05 14:24:34 +09:00
Jorge Bucaran 83608c228a
Simplify pre install/update/remove diff logic 2020-11-05 14:21:53 +09:00
Jorge Bucaran f97dc3b47d
Update plugins on install if they are already installed, close #599 2020-11-05 04:23:34 +09:00
Jorge Bucaran 3077649891
Temp support add/ls/rm with warning to smooth transition to 4.0 (#594) 2020-11-05 03:59:56 +09:00
Jorge Bucaran 882e839110
Install fish first 2020-11-05 03:29:33 +09:00
Jorge Bucaran e3ae2ed66a
Create functions, completions, and conf.d in $fisher_path; fix #598
A cleaner approach would be to move fisher.fish to functions
but this would break older versions of fisher that hardcoded
the raw URL to the fisher.fish file for upgrades.
2020-11-05 03:21:43 +09:00
Jorge Bucaran bd7b69d47b
Copy default schema before top-level files 2020-11-05 03:20:27 +09:00
Jorge Bucaran 4f2bc7bf01
Use fish by default 2020-11-04 23:52:39 +09:00
Aurélien Ooms d69311a911
Use fish_plugins filename instead of old fishfile. (#597) 2020-11-04 22:05:24 +09:00
Jorge Bucaran 08bdf7ed0d
Don't print log for fisher install fisher during bootstrap 2020-11-04 20:17:56 +09:00
Jorge Bucaran 168004cf1e
Use more backward compatible -a flag 2020-11-04 20:07:45 +09:00
Jorge Bucaran dbf07b1709
Fisher 4.0 (#596)
- Introduce new event system. #526, #527 #573.
- Deprecate `init.fish`, `uninstall.fish`, etc. #581
- No cache fallback, no plugin dependencies, no more private
package hosts, and no more gitlab/bitbucket support. #464, #579
- Require fish 3.0, use newer fish features, e.g., use `wait` to
implement concurrent downloads.
- Rely less on external tools. No awk, no sed, no basename/dirname.
Just mv, rm, cp, and mkdir.
- Deprecate `fishfile` in favor of `fish_plugins`. This new file
works like the old fishfile, but without comment support. See #524.
2020-11-04 19:50:10 +09:00
Patrick c2c091f33e
fix uninstall package instructions (#586) 2020-08-19 00:31:00 +09:00
Jorge Bucaran c84294b06f
3.3.2 2020-08-13 20:38:46 +09:00
Jorge Bucaran 429b99696f
Consistent terminology - use plugin everywhere; #587 2020-08-13 20:38:02 +09:00
Jorge Bucaran e2374589ff
Fix broken action 2020-08-12 19:40:49 +09:00
Jorge Bucaran 297c6b77c7
Revamp docs 2020-08-08 01:38:34 +09:00
Jorge Bucaran b9c5b48513
3.3.1 2020-08-05 00:00:46 +09:00
Jorge Bucaran fcef567fba
Download packages from HEAD; close #585 2020-08-05 00:00:33 +09:00
Jorge Bucaran 6cdfadc41e
3.3.0 2020-08-02 19:42:15 +09:00
Jorge Bucaran d7035f3f4e
Add default (main) tag fallback support; fix #583
When adding packages without specifying the tag/branch, e.g.

  fisher add jorgebucaran/nvm.fish

we'll try to download it from the `/main` tag by default and
if that fails, fallback to `/master`.
2020-08-02 19:33:34 +09:00
Jorge Bucaran c20d1b3ec3
Fix broken self-update; close #584 2020-08-02 11:01:19 +09:00
Jorge Bucaran c9393460cf
Remove now pointless version badge 2020-07-27 20:28:37 +09:00
Jorge Bucaran 9a0679c9ae
3.2.12 2020-07-27 20:17:17 +09:00
Guilherme Silva 510e6254ee
self-update: better network error handling; fix #580
A power outage could corrupt a `fisher self-update`. 
This change prevents fisher from overwriting itself to death.
2020-07-27 20:16:49 +09:00
Jorge Bucaran 994506e594
Add note about where the fish config file is 2020-07-02 03:37:25 +09:00
Jorge Bucaran 3badc25962
Simplify changing the installation path section 2020-07-02 03:35:36 +09:00
Jorge Bucaran d847b79b63
Improve visibility of note on changing the installation path; close #541 2020-07-02 03:25:14 +09:00
Jorge Bucaran c19e4e7d16
Be specific about 'fish configuration file'; close #576 2020-07-02 03:22:20 +09:00
James Smith 3decc8e468
Migrate Data to Proper XDG Directory (#571)
Going by the XDG base directory specification, it makes more sense to
place fisher data in XDG_DATA_HOME rather than XDG_CONFIG_HOME.
2020-07-01 12:30:16 +09:00
Jorge Bucaran c2b3ab0171
README tweaks
- Fix typos
- Remove CI badge
2020-06-24 14:13:56 +09:00
James Smith 3e4ae4b960
feat(ci): switch to GitHub Actions (#572)
Migration will switch from Travis CI to GitHub Actions.

Closes #567
2020-06-24 14:10:32 +09:00
Jorge Bucaran c22526cc5a
#0366d6 2020-06-01 04:20:25 +09:00
Jorge Bucaran 3f1d3d7db7
#24292e 2020-06-01 04:03:16 +09:00