diff options
author | Max Gonzih <gonzih@gmail.com> | 2014-01-11 15:33:07 +0300 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-01-13 22:36:02 +0800 |
commit | 71f6986dd68ac5e5872aa67071dd69bb7fe70fad (patch) | |
tree | 59ff8e0ea03c4985f4f981a50e3593d1458e2834 /share/functions/__fish_print_packages.fish | |
parent | 75b02e1d274bf5d74f3aa37936495fbe4378ec60 (diff) |
Fix __fish_print_packages for rpm
Diffstat (limited to 'share/functions/__fish_print_packages.fish')
-rw-r--r-- | share/functions/__fish_print_packages.fish | 2 |
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. |