Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
No packages completion for zypper #1787
The package list is generated by RPM, which takes a long time, so the output is cached. It won't be available on the first run. Once it's generated, you should have a file at
If it's not generating or using the cache correctly, please reopen the ticket.
By some reason file was empty. I deleted it and launched a new fish session to regenerate it. I've pressed TAB and nothing happened. I've copied a line, generated cache file and completion started to work.
# all packages zypper --quiet --no-refresh search | tail -n +4 | sed -E 's/^. \| ((\w|[-_.])+).*/\1/g' >/tmp/packages # installed only zypper --quiet --no-refresh search --installed-only | tail -n +4 | sed -E 's/^. \| ((\w|[-_.])+).*/\1/g' >/tmp/packages # uninstalled only zypper --quiet --no-refresh search --uninstalled-only | tail -n +4 | sed -E 's/^. \| ((\w|[-_.])+).*/\1/g' >/tmp/packages