commit a0da8f1bf0dc9e407077f43c58ab4ec2dfd2a4ed parent cd89f63b65c4939632903adcfc602d6da8e7f479 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 2 Jul 2020 15:32:18 +0200 Add ddg preferences to search url Diffstat:
M | .local/bin/search | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/search b/.local/bin/search @@ -60,7 +60,7 @@ elif regeximatch "$c" '!yt'; then plumb "gopher://git.codemadness.org/7/youtube.cgi ${q}" elif regexmatch "$c" ' '; then - plumb "https://duckduckgo.com/lite?q=$(printf '%s' "$c" | sed 's/+/%2b/g;s/&/%26/g;s/ /%20/g')" + 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}" fi