mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-24 08:22:09 +00:00
Fix __fish_print_packages for rpm
This commit is contained in:
parent
75b02e1d27
commit
71f6986dd6
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ function __fish_print_packages
|
|||
end
|
||||
|
||||
# Remove package version information from output and pipe into cache file
|
||||
rpm -qa >$cache_file |sed -e 's/-[^-]*-[^-]*$//' | sed -e 's/$/'\t$package'/' &
|
||||
rpm -qa | sed -e 's/-[^-]*-[^-]*$//' | sed -e 's/$/'\t$package'/' >$cache_file &
|
||||
end
|
||||
|
||||
# This completes the package name from the portage tree.
|
||||
|
|
Loading…
Reference in a new issue