commit fe3bc999a024af865ad0f57fc7674db09c4120ce
parent de35ee4cf19347fee5791c89c20c2cf9e96bdf90
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 23 Dec 2020 20:15:14 +0100
search: enable images for image results
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/search b/.local/bin/search
@@ -86,7 +86,7 @@ elif regeximatch "$c" '!yt'; then
plumb "https://codemadness.org/idiotbox/?q=${q}&o=relevance&m=Dark"
elif regexmatch "$c" ' '; then
- regexmatch "$c" '!i' && export SURFFLAGS=-S
+ regexmatch "$c" '!i' && export SURFFLAGS="-S -I"
plumb "https://duckduckgo.com/lite?q=$(printf '%s' "$c" | sed 's/+/%2b/g;s/&/%26/g;s/ /%20/g')&kad=en_US&kp=-2&kc=-1&kae=d&k1=-1&kk=-1&kam=osm&kaj=m&kv=-1&kak=-1&kax=-1&kaq=-1&kap=-1&kao=-1&kau=-1&kg=p&kd=-1&kac=-1"
else
plumb "http://${c}"