From ad7caa334d4272e519e7d8cc1f6403395b3421e2 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 6 Jan 2019 19:47:54 +0200
Subject: [PATCH] Corrected DuckDuckGo search.

---
 .bashrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.bashrc b/.bashrc
index 1585f8b..3dbf81a 100644
--- a/.bashrc
+++ b/.bashrc
@@ -197,7 +197,7 @@ __sync_comics () {
 }
 
 ddg () {
-    lynx "https://duckduckgo.com/lite/?q=$(urlencode "$@")"
+    lynx "https://duckduckgo.com/lite/?q=$(echo "$@" | urlencode)"
 }
 
 toux () {
-- 
GitLab