Commit Graph

221 Commits

Author SHA1 Message Date
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
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
Jorge Bucaran
47229c1429
README tweaks, use simpler language 2020-03-08 17:47:57 +09:00
Ross Donaldson
6d2d4107b4 Update the README to specify fisher's ownership of $XDG_CONFIG_HOME/fisher (#554)
It's important users of `fisher` _not_ use this directory as the value of `fisher_home`.
2019-10-11 16:47:47 +09:00
Tobias Hernstig
f3e87cf5f6 Change --event to --on-event (#549) 2019-08-15 02:41:52 +09:00
Jorge Bucaran
24b4aaa55b
Doc improvements 2019-07-09 21:31:41 +09:00
Jorge Bucaran
fe5638d107
Less meta 2019-07-09 01:44:39 +09:00
Jorge Bucaran
1e6e80c0c1
Renew docs 2019-06-29 09:38:40 +09:00
Will Stone
9bdd1d5e61 Match version and help commands to actual in docs (#535)
The help and version commands use the "--" prefix. This updates the readme to reflect that.
2019-04-17 20:49:30 +09:00
Jorge Bucaran
7b4705f810
Fix typos and grammar errors 2019-02-23 03:24:05 +09:00
Jorge Bucaran
d3469cfa33
docs: simplify installation instructions 2019-01-30 19:18:44 +09:00
Jorge Bucaran
05486e8767
docs: add link to curl dep version; improve uninstall 2019-01-30 03:33:48 +09:00
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