Default web search plugin to use HTTPS over HTTP

This commit is contained in:
Tom Cammann 2014-09-29 23:22:26 +01:00
commit 05b36f7d02

View file

@ -16,7 +16,7 @@ function web_search() {
return 1
fi
local url="http://www.$1.com"
local url="${WEB_SEARCH_PROTOCOL:-https}://www.$1.com"
# no keyword provided, simply open the search engine homepage
if [[ $# -le 1 ]]; then