mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
feat(web-search): add crates.io, docs.rs (#13250)
This commit is contained in:
@@ -37,6 +37,8 @@ function web_search() {
|
|||||||
claudeai "https://claude.ai/new?q="
|
claudeai "https://claude.ai/new?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="
|
||||||
|
rscrate "https://crates.io/search?q="
|
||||||
|
rsdoc "https://docs.rs/releases/search?query="
|
||||||
)
|
)
|
||||||
|
|
||||||
# check whether the search engine is supported
|
# check whether the search engine is supported
|
||||||
@@ -95,6 +97,8 @@ 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 rscrate='web_search rscrate'
|
||||||
|
alias rsdoc='web_search rsdoc'
|
||||||
|
|
||||||
#add your own !bang searches here
|
#add your own !bang searches here
|
||||||
alias wiki='web_search duckduckgo \!w'
|
alias wiki='web_search duckduckgo \!w'
|
||||||
|
|||||||
Reference in New Issue
Block a user