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 b7de6c6d210d918ae7af7c33932b3e1c67bd1986
parent a4b91feb24b01fed8db8cf74cb615a67d8f216dc
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  1 Jul 2020 11:25:49 +0200

Remove duckduckgo options from url which are irrelevant for lite version

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')&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')" else plumb "http://${c}" fi