Commit Graph

845 Commits (4.3.4)
 

Author SHA1 Message Date
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`.
4 years ago
Jorge Bucaran dcbf55956e
Don't need to worry about scope inside job 4 years ago
Jorge Bucaran f9b91779f3
Tweak report message 4 years ago
Jorge Bucaran 5e454f63bf
Silently accept `ls`, `rm` as undocumented aliases for `list`, `remove` 4 years ago
Jorge Bucaran 47ba393569
Remove fish_plugins if the file becomes empty 4 years ago
Jorge Bucaran e8c48262e1
More deprecation tweaks 4 years ago
Jorge Bucaran 3f0138c097
Refactor add/ls/rm deprecation notice 4 years ago
Jorge Bucaran 479bb3cd36
Tweak error messages 4 years ago
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.
4 years ago
Jorge Bucaran fa598b1ed6
fish_prompt fallback check needs to be done only once 4 years ago
Jorge Bucaran 83608c228a
Simplify pre install/update/remove diff logic 4 years ago
Jorge Bucaran f97dc3b47d
Update plugins on install if they are already installed, close #599 4 years ago
Jorge Bucaran 3077649891
Temp support add/ls/rm with warning to smooth transition to 4.0 (#594) 4 years ago
Jorge Bucaran 882e839110
Install fish first 4 years ago
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.
4 years ago
Jorge Bucaran bd7b69d47b
Copy default schema before top-level files 4 years ago
Jorge Bucaran 4f2bc7bf01
Use fish by default 4 years ago
Aurélien Ooms d69311a911
Use fish_plugins filename instead of old fishfile. (#597) 4 years ago
Jorge Bucaran 08bdf7ed0d
Don't print log for fisher install fisher during bootstrap 4 years ago
Jorge Bucaran 168004cf1e
Use more backward compatible -a flag 4 years ago
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.
4 years ago
Patrick c2c091f33e
fix uninstall package instructions (#586) 4 years ago
Jorge Bucaran c84294b06f
3.3.2 4 years ago
Jorge Bucaran 429b99696f
Consistent terminology - use plugin everywhere; #587 4 years ago
Jorge Bucaran e2374589ff
Fix broken action 4 years ago
Jorge Bucaran 297c6b77c7
Revamp docs 4 years ago
Jorge Bucaran b9c5b48513
3.3.1 4 years ago
Jorge Bucaran fcef567fba
Download packages from HEAD; close #585 4 years ago
Jorge Bucaran 6cdfadc41e
3.3.0 4 years ago
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`.
4 years ago
Jorge Bucaran c20d1b3ec3
Fix broken self-update; close #584 4 years ago
Jorge Bucaran c9393460cf
Remove now pointless version badge 4 years ago
Jorge Bucaran 9a0679c9ae
3.2.12 4 years ago
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.
4 years ago
Jorge Bucaran 994506e594
Add note about where the fish config file is 4 years ago
Jorge Bucaran 3badc25962
Simplify changing the installation path section 4 years ago
Jorge Bucaran d847b79b63
Improve visibility of note on changing the installation path; close #541 4 years ago
Jorge Bucaran c19e4e7d16
Be specific about 'fish configuration file'; close #576 4 years ago
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.
4 years ago
Jorge Bucaran c2b3ab0171
README tweaks
- Fix typos
- Remove CI badge
4 years ago
James Smith 3e4ae4b960
feat(ci): switch to GitHub Actions (#572)
Migration will switch from Travis CI to GitHub Actions.

Closes #567
4 years ago
Jorge Bucaran c22526cc5a
#0366d6 4 years ago
Jorge Bucaran 3f1d3d7db7
#24292e 4 years ago
Jorge Bucaran a8357adbdc
Prefer default FUNDING.yml 4 years ago
Jorge Bucaran df72aa0443
❤️ 4 years ago
Jorge Bucaran 017046abf3
3.2.11
https://github.com/jorgebucaran/fisher/releases/tag/3.2.11
4 years ago
Andrei Borisov 44405ca9c4
Fix `_fisher_parse` function for BusyBox awk (#566) 4 years ago
Jorge Bucaran 47229c1429
README tweaks, use simpler language 5 years ago
Jorge Bucaran c142f61e51
3.2.10 5 years ago
mattmc3 25ae8be214 Better fishfile location support (#547)
* Better fishfile location support

Per issue #545, support fishfile living in $fish_config even when $fisher_path is set if desired.

* Re-home fishfile to $fish_config/fishfile

Per discussion here:
https://github.com/jorgebucaran/fisher/pull/547
https://github.com/jorgebucaran/fisher/issues/545

Fish file is returned from $fisher_path/fishfile to $fish_config/fishfile.

* Change $fishfile to global variable
5 years ago