mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
xbps: actually show all packages in __fish_print_xbps_packages
's output.
`xbps-query` actually parses `-Rsl` as `-Rs l`, which means that packages without the letter "l" in their names or descriptions are not included in `__fish_print_xbps_packages`'s output.
This commit is contained in:
parent
af49b4d0f8
commit
0f39de2eee
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function __fish_print_xbps_packages
|
|||
end
|
||||
end
|
||||
# prints: <package name> Package
|
||||
xbps-query -Rsl | sed 's/^... \([^ ]*\)-.* .*/\1/; s/$/\t'Package'/' | tee $cache_file
|
||||
xbps-query -Rs "" | sed 's/^... \([^ ]*\)-.* .*/\1/; s/$/\t'Package'/' | tee $cache_file
|
||||
return 0
|
||||
else
|
||||
xbps-query -l | sed 's/^.. \([^ ]*\)-.* .*/\1/' # TODO: actually put package versions in tab for locally installed packages
|
||||
|
|
Loading…
Reference in a new issue