commit 6eb32413491ea8a3d97dfd9ffbbb6ab87fba9d6e
parent 6cd9d2a1c042e1c75c43dd9df42adea60e540c84
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 17 Nov 2019 11:36:43 +0100
Only seach on google scholar if keyword has a trailing space
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/ducksearch b/.local/bin/ducksearch
@@ -21,7 +21,7 @@ else
$browser "$(echo "$choice" | awk '{print $1}')"
else
case "$choice" in
- scholar*)
+ scholar\ *)
$browser "https://scholar.google.com/scholar?q=${choice/scholar /}"
;;
*)