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 c9dd31af128a54c7f71c8b3be8190b8d07511d2a
parent a8f77e0aef06c10adddf9de84d6ba5cd2b5396c7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 22 Jan 2020 14:00:24 +0100

Encode + symbols in search queries

Diffstat:
M.local/bin/ducksearch | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/ducksearch b/.local/bin/ducksearch @@ -37,7 +37,7 @@ else fi ;; *) - $BROWSER "https://duckduckgo.com/?q=$choice&kae=d&kau=-1&kao=-1&kap=-1&kaq=-1&kax=-1&kak=-1&kv=-1&kk=-1&k1=-1&kc=-1" + $BROWSER "https://duckduckgo.com/?q=$(echo $choice | sed 's/+/%2b/g')&kae=d&kau=-1&kao=-1&kap=-1&kaq=-1&kax=-1&kak=-1&kv=-1&kk=-1&k1=-1&kc=-1" ;; esac fi