Commit Graph

833 Commits

Author SHA1 Message Date
Jorge Bucaran
8a3613405b
Merge pull request #483 from jerr0328/patch-1
docs: Link to awesome-fish-shell list
2019-01-01 15:12:38 +09:00
Jorge Bucaran
78f35610ca
3.2.1 2019-01-01 14:52:10 +09:00
Jorge Bucaran
49785a134b
fix: don't create cache directory before fetching 2019-01-01 14:52:00 +09:00
Jorge Bucaran
859c85a299
Merge pull request #504 from jorgebucaran/3.2.0
3.2.0
2019-01-01 13:17:10 +09:00
Jorge Bucaran
39e9f3f340
3.2.0
- Optimize startup path #494
  - Cuts fisher-related startup time to roughly 25ms
  - Reduce legacy fish support (~~>=2.0~~ >=2.1)
- Read fishfile from `$fisher_path` instead of `$fish_config` #480, #479
- Don't add invalid packages to fishfile / validate fishfile #478 #484 #492
- Rewrite tar expansion logic / don't use `--strip-components` #489 #496
  - Better OpenBSD support
  - Better msys2 on Windows 10 support
- Create symbolic links of original files when adding local packages #502
2019-01-01 02:49:03 +09:00
Sefa Eyeoglu
d65b86487b
Read fishfile from $fisher_path instead of $fish_config (#480) 2019-01-01 02:45:19 +09:00
Bjorn Neergaard
6e5a751e16
Optimize fisher startup path (#494)
* With the addition of keybinding support for fish 2.x, fisher greatly
increases shell startup time (50-100ms in my testing). This is due to a
number of reasons, including using less-than-ideal builtins,
unconditionally running mkdir, unconditionally recreating
conf.d/fisher.fish, and checking for curl on startup (instead of when
curl is used).

* This patch cuts fisher-related startup time to roughly 25ms, simplifying
the code paths as much as I am able.

* The source function is removed as a compromise for speed. Fish 2.1 and
greater support `source`, and supporting fish 2.0 is not worth a hefty
speed penalty in my opinion.

* Remove curl checks, invert version logic.

* Update README to reflect fish 2.1+ requirement
2019-01-01 02:45:19 +09:00
Jorge Bucaran
2934a92cb6
docs: improve fishfile section 2019-01-01 02:44:20 +09:00
Jorge Bucaran
2d6b6a1926
feature: don't add invalid packages to fishfile; fix #484 2019-01-01 02:44:20 +09:00
Rodrigo Bermúdez Schettino
b47c0469db README: Update function option in conf.d (#497)
Replace non-existing --event argument with --on-event.
2018-11-30 09:23:05 +09:00
Tetsuya Ikenaga
60a34e50b4 docs: fix custom fisher_path configuration instructions (#495)
Avoid doubling `fish_function_path` and `fish_complete_path`.
2018-11-26 10:08:50 +09:00
Jorge Bucaran
a8d7fb7830
docs: improve custom installation prefix instructions; fix #487 2018-11-02 18:08:56 +09:00
Jeremy
9458258f81
docs: Link to awesome-fish-shell list
As mentioned in https://github.com/jorgebucaran/fisher/issues/461#issuecomment-427638774, a link to the awesome-fish-shell list will help people find packages.
2018-10-25 09:55:16 +02:00
Jorge Bucaran
40d2882420
docs: improve writing style 2018-10-24 15:43:06 +09:00
Jorge Bucaran
e9925f4a96
3.1.1 2018-10-21 23:34:28 +09:00
Jorge Bucaran
152bdc43a0
docs: improve writing style 2018-10-21 23:33:59 +09:00
Jorge Bucaran
d653e0e0e9
refactor: improve readability / indentation 2018-10-21 23:32:13 +09:00
Jorge Bucaran
71974a2527
feat: show error if package being removed is not found; close #478 2018-10-21 23:31:16 +09:00
Jorge Bucaran
2be2ea6109
refactor: rename seen→seen_pkgs 2018-10-21 23:28:25 +09:00
Jorge Bucaran
aff893c05b
refactor: change regex to remove everything before a ***github.com/foo/bar 2018-10-21 22:33:59 +09:00
Jorge Bucaran
b4c4023e16
docs: add additional note to "Using the fishfile" section 2018-10-17 22:38:46 +09:00
Jorge Bucaran
984e245bec
docs: improve "Using the fishfile" section 2018-10-17 22:31:20 +09:00
Jorge Bucaran
7dff47a3f9
docs: improve writing style 2018-10-17 22:30:39 +09:00
Jorge Bucaran
ddf7334854
3.1.0 2018-10-17 15:57:46 +09:00
Jorge Bucaran
f09cefdc5c
doc: fix legacy fish instructions; improve punctuation & grammar 2018-10-17 15:54:12 +09:00
Jorge Bucaran
c9974efc12
feat: add user key bindings autoloading for legacy fish
Packages add key bindings via configuration snippets. As it turns out,
configuration snippets are not available  in legacy fish and only fish
3.0 or newer can use the bind builtin on shell startup.

To support  packages that add key  bindings in legacy fish,  we make a
copy  of  the  user's  fish_user_key_bindings function  (if  there  it
exists)  and create  a new  one that  when called,  will source  every
*_key_bindings.fish  inside \$fisher_path/conf.d  and finally  run our
copy of the  user's fish_user_key_bindings, if it  exists, to preserve
any user defined key bindings.

To be able to  run code on shell startup we  create a fisher.fish file
inside \$fisher_path/conf.d if running an  older version of fish. When
the user  upgrades to  a supported  fish version,  we'll automatically
remove this file.
2018-10-17 15:51:12 +09:00
Jorge Bucaran
b0c5a6598c
doc: improve various sections 2018-10-17 10:43:51 +09:00
Jorge Bucaran
207ccf00b6
refactor: add more info to help command
Command line usage help now tells you that running fisher will
update installed packages. Running fisher also commits fishfile
changes, but I couldn't fit all the words on the same line.
2018-10-16 14:36:57 +09:00
Jorge Bucaran
76bb67b9c6
fix: use command 2018-10-14 02:55:42 +09:00
Jorge Bucaran
24e9154688
refactor: function, var names & spacing
- _fisher_fishfile_load→_fisher_fishfile_read
2018-10-14 02:21:39 +09:00
Jorge Bucaran
77fc030c03
feat: copy files from sub directories; close #468
Supporting nested directories is an anti-feature. It exists only
so that we can install certain packages that are structured that
way. All functions will share the same scope and location.
2018-10-14 00:57:22 +09:00
Jorge Bucaran
e4629b9186
ci: turn off email notifications 2018-10-13 15:29:07 +09:00
Jorge Bucaran
8d3e4d367e
fix: normalize package id in fishfile format script 2018-10-13 14:42:48 +09:00
Jorge Bucaran
45e556ab18
3.0.9 2018-10-13 02:41:14 +09:00
Jorge Bucaran
4d953fa72e
feat: custom hosted packages via ssh+git; fix #464
Use git to install packages hosted in a custom server
via ssh using a URL like: owner@host.xz:path/to/repo
2018-10-13 02:24:53 +09:00
Jorge Bucaran
da792f6887
style: improve package fetch error message 2018-10-13 01:12:43 +09:00
Jorge Bucaran
44ec48b472
refactor: use id to refer to package name specifier, not name 2018-10-13 01:09:16 +09:00
Jorge Bucaran
993b471777
refactor: improve readability of status report generator 2018-10-13 00:37:24 +09:00
Jorge Bucaran
32dbf148bb
refactor: improve fishfile formatter normalize regex 2018-10-13 00:28:50 +09:00
Jorge Bucaran
55b543eb13
fix: display correct time on Linux; close #463 2018-10-12 23:08:05 +09:00
Joe George
28aaa277e0 fix: don't strip github.com from local paths; fix #472 2018-10-11 00:41:44 +09:00
Michiel Scholten
1d82bee9c2 fix: replace ln with cp; don't hardlink; close #470 2018-10-10 23:53:40 +09:00
Jorge Bucaran
56e45ef18f
doc: mention packages can be installed from a commit-ish 2018-10-08 20:48:11 +09:00
Jorge Bucaran
206ecf7293
doc: make migration guide more noticeable; #450 2018-10-08 19:56:39 +09:00
Jorge Bucaran
68e4ee631f
3.0.8 2018-10-08 14:29:41 +09:00
Jorge Bucaran
23379887c0
refactor: simplify builtin jobs parse script 2018-10-08 14:24:31 +09:00
Jorge Bucaran
2e933cad31
fix: use $__fish_data_dir if available 2018-10-08 13:32:57 +09:00
Jorge Bucaran
203e9d4d69
refactor: remove magic number 2018-10-08 13:31:31 +09:00
Jorge Bucaran
0898825301
3.0.7 2018-10-08 10:51:28 +09:00
Jorge Bucaran
f75de3aa87
fix: don't create new fishfile (except the first time); fix #460 2018-10-08 10:50:04 +09:00