mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +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
|
end
|
||||||
|
|
||||||
# Remove package version information from output and pipe into cache file
|
# 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
|
end
|
||||||
|
|
||||||
# This completes the package name from the portage tree.
|
# This completes the package name from the portage tree.
|
||||||
|
|
Loading…
Reference in a new issue