Commit Graph

203 Commits

Author SHA1 Message Date
Jorge Bucaran
6401d18504
3.2.5
- ci: use && (tears of joy)
- docs: better explore package directions
- refactor: add license info to README; remove LICENSE file
- refactor `fisher ls REGEX`
- refactor: merge fishfile read/write parser to one script
- refactor: take advantage of nullglob in for loops
- refactor: prepend "fisher:" to error messages to improve logging
- refactor: remove unnecessary message after self-uninstall
- refactor: rename `fisher self-complete` to `fisher complete`
- refactor: simplify status report format script
2019-01-21 02:51:34 +09:00
Jorge Bucaran
f1890a54d2
docs: uninstall→remove; add "humorous" note 2019-01-12 19:13:56 +09:00
Jorge Bucaran
f1766dcfa0
refactor: automate erasing variables in uninstall 2019-01-12 19:10:14 +09:00
Jorge Bucaran
81f03702e6
docs: document changes to ls output and new regex filter feat 2019-01-12 19:03:38 +09:00
Jorge Bucaran
14c740d1d6
docs: move legacy fish support guide to issues; #510 2019-01-12 13:46:01 +09:00
Jorge Bucaran
41ef268684
docs: move info about local packages to end of section 2019-01-12 00:56:29 +09:00
Jorge Bucaran
2b764b89b1
docs: add link to tab completion 2019-01-07 14:50:06 +09:00
Jorge Bucaran
2c7197bdfb
docs: more style 2019-01-02 01:43:56 +09:00
Jorge Bucaran
00c5f40318
docs: improve style; move migration help tip to the top 2019-01-02 01:40:25 +09:00
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
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
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
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
152bdc43a0
docs: improve writing style 2018-10-21 23: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
f09cefdc5c
doc: fix legacy fish instructions; improve punctuation & grammar 2018-10-17 15:54:12 +09:00
Jorge Bucaran
b0c5a6598c
doc: improve various sections 2018-10-17 10:43:51 +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
226c0d946f
style: remove html comment; don't use fish code block 2018-10-07 13:53:46 +09:00
Jorge Bucaran
41d5fe0ca6
doc: use git.io/fisher as installation URL since it was restored 2018-10-06 10:00:00 +09:00
Jorge Bucaran
61f6f8c8c4
doc: use raw installation url until https://git.io/fisher is restored 2018-10-06 09:08:40 +09:00
Jorge Bucaran
ac3e05ae3e
doc: add upgrading instructions and link to migration guide; #450 2018-10-06 09:07:35 +09:00
Jorge Bucaran
318a1941dc
docs: add link to key bindings info until fish-custom-key-bindings has been published 2018-10-05 23:11:41 +09:00
Jorge Bucaran
54170ef1c3
breaking: implement fisher V3 (#445)
SUMMARY

This  PR  rewrites  fisher  from  the ground  up  and  adds  new
documentation. It introduces some  breaking changes as described
in the  next section. For  a historical background of  this work
see the original V3 proposal #307 and the more recent discussion
about the future of the project #443.

After much debate  and careful consideration I decided  it is in
the best interest of the  project to keep the CLI-based approach
to  dependency  management as  a  facade  to the  fishfile-based
approach originally proposed.

The new `add` commands (previously  `install`) and good ol' `rm`
interactively update  your fishfile and commit  all your changes
in one  sweep. To the  end user, it's as  if you were  adding or
removing  packages like  you already  do now.  Internally, these
commands affect how the fishfile  is parsed and result in adding
new or replacing/removing existing entries followed by a regular
`fisher` run.

INSTALLING

- `install` has been renamed to `add`

- Installing from a gist is  no longer supported (but it will be
back in a future release—removed only to simplify the rewrite)

- To  install a package  from a tag or  branch use an  at symbol
`@`—the colon `:` is deprecated

LISTING

- `ls` and `rm` are still available with a few minor differences

- `ls` followed by a package name does not list specific package
information (may be added back in a future release)

- `ls`  output format  no longer displays  a legend  to indicate
whether a package is a theme or a local package; now it's a flat
dump of every installed package specifier

- For local packages the full path is shown instead

- I want  to add a `--tree`  option in to display  packages in a
tree-like format in the future

- `ls-remote` has been removed as there is no longer a preferred
organization to  look for packages— there  is no plan to  add it
back

UPDATING

-  A new  `self-update` command  has been  introduced to  update
fisher itself

- fisher  will be only  updated when  a new version  is actually
available

- `update` has been removed

-  Everything is  installed from  scratch everytime  you add  or
remove  something,  so  there  is no  need  to  update  specific
packages—you're always up-to-date

-  To  lock  on  a  specific  package  version  install  from  a
tag/branch, e.g., `mypkg/foobar@1.3.2`

UNINSTALLING

- `self-uninstall` works as usual

HELP & VERSION

- `help` only displays fisher usage help

- help is dumped to stdout instead of creating a man page on the
fly and piping it to your pager `version` works as usual

ENVIRONMENT

- `$fish_path` been  renamed to `$fisher_path` to  make it clear
that this is a fisher specific extension, not your shell's

ECOSYSTEM

-  Oh  My  Fish!  packages  are  still  supported,  albeit  less
attention is paid to them

-  Some  packages that  use  Oh  My Fish!  specific  environment
variables or events might not work

- Most of  Oh My Fish! extensions are no  longer necessary since
fish 2.3, therefore it should be a simple matter to upgrade them
to modern fish

DEPENDENCIES

- fisher can now run on fish 2.0

- It's a  good idea to upgrade  to at least fish 2.3  to use the
string builtin and configuration snippets, but there's no reason
for fisher to force you to use any fish version

- `curl` is required for fetching packages

- I am considering adding a  fallback to `wget` if `curl` is not
available on your system

- `git` is optional

-  V3   fetches  packages  directly  from   github,  gitlab  and
bitbucket, if you are using them

- git  is only used  (implementation still  wip) if you  want to
install a  package from an  unknown git  host like your  own git
server
2018-10-05 20:20:31 +09:00
Jorge Bucaran
d265de6ef6
refactor: remove slack button 2018-09-09 17:16:41 +09:00
Jorge Bucaran
0a9d7faa8b
docs: add heading 2018-09-07 20:18:58 +09:00
Jorge Bucaran
dadcc6c190
docs: add bootstrap note; fix #420 2018-09-07 20:17:02 +09:00
Jorge Bucaran
f96c314497
style: remove fisherman logo from README; too large and obnoxious 2018-09-07 18:26:01 +09:00
Dror Levin
8c2c9e1a92 Fix config.fish example for custom paths (#433)
The `fish_function_path` must be set before sourcing the `conf.d` files because they might call functions in that path.
2018-09-05 21:32:08 +09:00
Patrick
196850e09a Add fisherman logo to readme (#436) 2018-07-23 01:05:13 +02:00
Georgy Yakovlev
d3b3f6a8e4 2> /dev/null in README 2018-05-16 16:58:33 -07:00
Ryan Sullivan
766bd093a1 Allow for copy instead of linking (#401)
* Allow for optional copy on install instead of linking

* Remove eval in favor of proper test call

* Document fisher_copy variable

* Missing ?
2018-04-25 11:18:42 +09:00
Peeyush Kushwaha
63c59119a6 Add info about generating github token in README
Closes #414
2018-04-08 22:25:20 -07:00
Joe Green
79fc2e6f6b fisher up obeys $fish_path (#407)
* Ensure fisherman's completions are placed in the correct fisherman directory when running self update.

* Update documentation to include the extra steps required when setting fish_path.

* -U instead of -g in README.
2017-12-13 19:29:58 +09:00
Jorge Bucaran
9617f27ee3
Add https to URL. 2017-06-19 18:20:34 +09:00
Jorge Bucaran
0f003c0ce1
Add info to the README about how to contribute to the project. 2017-05-22 09:14:06 +09:00
Jorge Bucaran
98ad0d10c4
Update README.md 2017-05-13 22:57:05 +09:00
Jorge Bucaran
ba3dd33269
Emphasize fishfile. 2017-02-18 15:33:14 +09:00
Francisco Lourenco
e15ccc8f75 Document how to install branches and tags
Closes: #364
2017-02-15 21:36:03 +01:00
Jorge Bucaran
f359fa1c51
Fisherman is concurrent (fetch/update), let's make this more prominent. 2017-02-15 16:39:26 +09:00
Jorge Bucaran
92716f334b
Use https. 2017-02-02 00:46:26 +09:00
Jorge Bucaran
742c2cad3f
Update home page URL. 2017-01-21 17:29:22 +09:00