summaryrefslogtreecommitdiff
path: root/src/query.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/query.sh')
-rw-r--r--src/query.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/query.sh b/src/query.sh
index f9f2bcb..5f863a6 100644
--- a/src/query.sh
+++ b/src/query.sh
@@ -19,9 +19,9 @@ list_installed () {
search () {
if [ $# = 0 ]; then
- list
+ list_installed
else
- list | grep $(echo $@ | sed "s/ /\\|/g")
+ list_installed | grep $(echo $@ | sed "s/ /\\|/g")
fi
}