From 71f6986dd68ac5e5872aa67071dd69bb7fe70fad Mon Sep 17 00:00:00 2001 From: Max Gonzih Date: Sat, 11 Jan 2014 15:33:07 +0300 Subject: Fix __fish_print_packages for rpm --- share/functions/__fish_print_packages.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/functions/__fish_print_packages.fish') diff --git a/share/functions/__fish_print_packages.fish b/share/functions/__fish_print_packages.fish index decf410d..95d5d6ca 100644 --- a/share/functions/__fish_print_packages.fish +++ b/share/functions/__fish_print_packages.fish @@ -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. -- cgit v1.2.3