mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-27 03:05:39 +01:00
Default web search plugin to use HTTPS over HTTP
This commit is contained in:
parent
96e4e5dd03
commit
05b36f7d02
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ function web_search() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
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
|
# no keyword provided, simply open the search engine homepage
|
||||||
if [[ $# -le 1 ]]; then
|
if [[ $# -le 1 ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue