dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ca198d50df4bdcb96fb685e90c7f39930d0590cb
parent 06e05a5906c6a5d5d430ebc3665932398b052dd5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sat, 30 May 2020 07:38:48 +0200

Use lite duckduckgo frontend for web search

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/?q=$(printf '%s' "$c" | sed 's/+/%2b/g;s/&/%26/g;s/ /%20/g')&kae=d&kau=-1&kao=-1&kap=-1&kaq=-1&kax=-1&kak=-1&kv=-1&kk=-1&k1=-1&kc=-1" + plumb "https://duckduckgo.com/lite?q=$(printf '%s' "$c" | sed 's/+/%2b/g;s/&/%26/g;s/ /%20/g')&kae=d&kau=-1&kao=-1&kap=-1&kaq=-1&kax=-1&kak=-1&kv=-1&kk=-1&k1=-1&kc=-1" else plumb "http://${c}" fi