mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Added integrations in websearch for Amazon and Flipkart
This commit is contained in:
parent
5c804257ce
commit
6f9f384ea1
1 changed files with 10 additions and 0 deletions
|
|
@ -35,8 +35,12 @@ function web_search() {
|
||||||
chatgpt "https://chatgpt.com/?q="
|
chatgpt "https://chatgpt.com/?q="
|
||||||
grok "https://grok.com/?q="
|
grok "https://grok.com/?q="
|
||||||
claudeai "https://claude.ai/new?q="
|
claudeai "https://claude.ai/new?q="
|
||||||
|
gpt "https://chatgpt.com/?q="
|
||||||
reddit "https://www.reddit.com/search/?q="
|
reddit "https://www.reddit.com/search/?q="
|
||||||
ppai "https://www.perplexity.ai/search/new?q="
|
ppai "https://www.perplexity.ai/search/new?q="
|
||||||
|
amazon "https://www.amazon.com/s?k="
|
||||||
|
flipkart "https://www.flipkart.com/search?q="
|
||||||
|
pypi "https://pypi.org/search/?q="
|
||||||
)
|
)
|
||||||
|
|
||||||
# check whether the search engine is supported
|
# check whether the search engine is supported
|
||||||
|
|
@ -95,6 +99,12 @@ alias grok='web_search grok'
|
||||||
alias claudeai='web_search claudeai'
|
alias claudeai='web_search claudeai'
|
||||||
alias reddit='web_search reddit'
|
alias reddit='web_search reddit'
|
||||||
alias ppai='web_search ppai'
|
alias ppai='web_search ppai'
|
||||||
|
alias amazon='web_search amazon'
|
||||||
|
alias amzn='web_search amazon'
|
||||||
|
alias fkart='web_search flipkart'
|
||||||
|
alias flipkart='web_search flipkart'
|
||||||
|
alias gpt='web_search gpt'
|
||||||
|
alias pypi='web_search pypi'
|
||||||
|
|
||||||
#add your own !bang searches here
|
#add your own !bang searches here
|
||||||
alias wiki='web_search duckduckgo \!w'
|
alias wiki='web_search duckduckgo \!w'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue