aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_print_packages.fish
diff options
context:
space:
mode:
authorGravatar Max Gonzih <gonzih@gmail.com>2014-01-11 15:33:07 +0300
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-01-13 22:36:02 +0800
commit71f6986dd68ac5e5872aa67071dd69bb7fe70fad (patch)
tree59ff8e0ea03c4985f4f981a50e3593d1458e2834 /share/functions/__fish_print_packages.fish
parent75b02e1d274bf5d74f3aa37936495fbe4378ec60 (diff)
Fix __fish_print_packages for rpm
Diffstat (limited to 'share/functions/__fish_print_packages.fish')
-rw-r--r--share/functions/__fish_print_packages.fish2
1 files changed, 1 insertions, 1 deletions
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.