mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
fix(web-search): update chatgpt url
This commit is contained in:
parent
308918564b
commit
abec8f83c8
2 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue