X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fweb-search%2FREADME.md;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fweb-search%2FREADME.md;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=54232a9102365fd48dc6bf3b3fa327146540b659;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/web-search/README.md b/stow/oh-my-zsh/.oh-my-zsh/plugins/web-search/README.md deleted file mode 100644 index 54232a9..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/web-search/README.md +++ /dev/null @@ -1,80 +0,0 @@ -# web-search plugin - -This plugin adds aliases for searching with Google, Wiki, Bing, YouTube and other popular services. - -Open your `~/.zshrc` file and enable the `web-search` plugin: - -```zsh -plugins=( ... web-search) -``` - -## Usage - -You can use the `web-search` plugin in these two forms: - -* `web_search [more terms if you want]` -* ` [more terms if you want]` - -For example, these two are equivalent: - -```zsh -$ web_search google oh-my-zsh -$ google oh-my-zsh -``` - -Available search contexts are: - -| Context | URL | -| --------------------- | ---------------------------------------- | -| `bing` | `https://www.bing.com/search?q=` | -| `google` | `https://www.google.com/search?q=` | -| `brs` or `brave` | `https://search.brave.com/search?q=` | -| `yahoo` | `https://search.yahoo.com/search?p=` | -| `ddg` or `duckduckgo` | `https://www.duckduckgo.com/?q=` | -| `sp` or `startpage` | `https://www.startpage.com/do/search?q=` | -| `yandex` | `https://yandex.ru/yandsearch?text=` | -| `github` | `https://github.com/search?q=` | -| `baidu` | `https://www.baidu.com/s?wd=` | -| `ecosia` | `https://www.ecosia.org/search?q=` | -| `goodreads` | `https://www.goodreads.com/search?q=` | -| `qwant` | `https://www.qwant.com/?q=` | -| `givero` | `https://www.givero.com/search?q=` | -| `stackoverflow` | `https://stackoverflow.com/search?q=` | -| `wolframalpha` | `https://wolframalpha.com/input?i=` | -| `archive` | `https://web.archive.org/web/*/` | -| `scholar` | `https://scholar.google.com/scholar?q=` | - -Also there are aliases for bang-searching DuckDuckGo: - -| Context | Bang | -|-----------|-------| -| `wiki` | `!w` | -| `news` | `!n` | -| `youtube` | `!yt` | -| `map` | `!m` | -| `image` | `!i` | -| `ducky` | `!` | - -### Custom search engines - -If you want to add other search contexts to the plugin, you can use the -`$ZSH_WEB_SEARCH_ENGINES` variable. Set it before Oh My Zsh is sourced, -with the following format: - -```zsh -ZSH_WEB_SEARCH_ENGINES=( - - -) -``` - -where `` is the name of the search context, and `` a URL of -the same type as the search contexts above. For example, to add `reddit`, -you'd do: - -```zsh -ZSH_WEB_SEARCH_ENGINES=(reddit "https://www.reddit.com/search/?q=") -``` - -These custom search engines will also be turned to aliases, so you can -both do `web_search reddit ` or `reddit `.