mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 04:58:57 +00:00
156d4fb9b9
`npm search` was _way_ too slow to be used for dynamic completions, so using a cached list of all avaialable NPM packages to match against. This is a bit brave for a fish completion, but the npm package `all-the-package-names` has a list of, well, all the package names avaialable for installation via the default npm registry. Installing a copy locally to $HOME/.cache/fish/npm_completions and using that to search for packages matching the tokenized command line. Preference would be to call `__update_atpm` in the background, but that emits an ugly "job has completed" message.. Should also use this for completions for `yarn add`. |
||
---|---|---|
.. | ||
completions | ||
functions | ||
groff | ||
tools | ||
__fish_build_paths.fish.in | ||
config.fish | ||
lynx.lss |