From abec8f83c8b2b1c64bce38e68ef878ee4211e8a8 Mon Sep 17 00:00:00 2001 From: heytulsiprasad Date: Tue, 10 Sep 2024 18:47:29 +0530 Subject: [PATCH] fix(web-search): update chatgpt url --- plugins/web-search/README.md | 16 ++++++++-------- plugins/web-search/web-search.plugin.zsh | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/web-search/README.md b/plugins/web-search/README.md index 36926155e..91754ac7f 100644 --- a/plugins/web-search/README.md +++ b/plugins/web-search/README.md @@ -50,17 +50,17 @@ Available search contexts are: | `npmpkg` | `https://www.npmjs.com/search?q=` | | `packagist` | `https://packagist.org/?query=` | | `gopkg` | `https://pkg.go.dev/search?m=package&q=` | -| `chatgpt` | `https://chat.openai.com?q=` | +| `chatgpt` | `https://chatgpt.com/?q=` | Also there are aliases for bang-searching DuckDuckGo: -| Context | Bang | -| --------- | ----- | -| `wiki` | `!w` | -| `news` | `!n` | -| `map` | `!m` | -| `image` | `!i` | -| `ducky` | `!` | +| Context | Bang | +| ------- | ---- | +| `wiki` | `!w` | +| `news` | `!n` | +| `map` | `!m` | +| `image` | `!i` | +| `ducky` | `!` | ### Custom search engines diff --git a/plugins/web-search/web-search.plugin.zsh b/plugins/web-search/web-search.plugin.zsh index c5b886f17..2f524ba1e 100644 --- a/plugins/web-search/web-search.plugin.zsh +++ b/plugins/web-search/web-search.plugin.zsh @@ -31,7 +31,7 @@ function web_search() { npmpkg "https://www.npmjs.com/search?q=" packagist "https://packagist.org/?query=" gopkg "https://pkg.go.dev/search?m=package&q=" - chatgpt "https://chat.openai.com?q=" + chatgpt "https://chatgpt.com/?q=" ) # check whether the search engine is supported