aboutsummaryrefslogtreecommitdiffstats
path: root/nlay
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-05-15 20:14:13 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-05-15 20:14:13 +0530
commit71bc3c743247b891943af1f69da0e9e375b7746f (patch)
tree914fa4e9408464c16b0dd0e38fa171cc548bff4c /nlay
parentba49beac7994b950563e53b2989630ddc514aaba (diff)
downloadnnn-71bc3c743247b891943af1f69da0e9e375b7746f.tar.gz
Fix #27: use catfish as default search utility
Diffstat (limited to 'nlay')
-rwxr-xr-xnlay11
1 files changed, 11 insertions, 0 deletions
diff --git a/nlay b/nlay
index 20d6e8e..bc9eaaa 100755
--- a/nlay
+++ b/nlay
@@ -120,3 +120,14 @@ if [ "$2" == "text" ]; then
eval $app $txt_opts "\"$1\"" $bg
exit 0
fi
+
+#----------------- SEARCH -------------------
+if [ "$2" == "search" ]; then
+ app=catfish
+ #search_opts=
+
+ bg=">/dev/null 2>&1 &"
+
+ eval $app $search_opts "\"$1\"" $bg
+ exit 0
+fi