commit f545e6da4d51817e4dc25cdf9efe404481ab65d0
parent 653601e925cde714987e87b0d08ee182838b91fb
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 23 Apr 2019 14:23:29 +0200
Strip keyword from search query
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/ducksearch b/bin/ducksearch
@@ -17,7 +17,7 @@ else
else
case "$choice" in
scholar*)
- $browser "https://scholar.google.com/scholar?q=$choice"
+ $browser "https://scholar.google.com/scholar?q=${choice/scholar /}"
;;
*)
$browser "https://duckduckgo.com/?q=$choice&t=ffab&atb=v1-1"