mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 16:12:49 +08:00
Fix __fish_print_packages for rpm
This commit is contained in:
parent
75b02e1d27
commit
71f6986dd6
|
@ -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 New Issue
Block a user