fish-shell/share
Fabian Boehm 136b99839b print_apt_packages: Go back to apt-cache for non-installed packages
Unfortunately, /var/lib/dpkg/status on recent-ish Debian versions at
least only contains the *installed* packages, rendering this solution
broken.

What we do instead is:

1. Remove a useless newline from each package, so our limit would now
let more full package data sets through
2. Increase the limit by 5x

This yields a completion that runs in ~800ms instead of ~700ms on a
raspberry pi, but gives ~10x the candidates, compared to the old
apt-cache version.

This partially reverts 96deaae7d8

(cherry picked from commit 81cd035950)
2023-10-06 18:49:46 +02:00
..
completions Shortens rsync completion description 2023-10-06 18:48:25 +02:00
functions print_apt_packages: Go back to apt-cache for non-installed packages 2023-10-06 18:49:46 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools Replace more escapes with quotes in man parser (#9961) 2023-10-06 18:48:25 +02:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish share/config: Erase on_interactive before doing __fish_config_interactive 2023-02-27 22:40:58 +08:00