WebSearch On OhMyZsh Easy in 2024

Hey guys in today’s blog i will tell you how you can use ohmyzsh to increase productivity as a hacker the different plugins that come with ohmyzsh and to be honest it will definitely change your hacking game.

What Is OhMyZsh

source ohmyzsh

As they mention it Oh My Zsh is an open source, community-driven framework for managing your zsh configuration.
Sounds boring. Let’s try again.
Oh My Zsh will not make you a 10x developer…but you may feel like one.

Once installed, your terminal shell will become the talk of the town or your money back! With each keystroke in your command prompt, you’ll take advantage of the hundreds of powerful plugins and beautiful themes. Strangers will come up to you in cafés and ask you, “that is amazing! are you some sort of genius?”

Finally, you’ll begin to get the sort of attention that you have always felt you deserved. …or maybe you’ll use the time that you’re saving to start flossing more often. 😬

Requirements

  • 1.Installing Zsh is necessary (v4.3.9 or later is OK, but 5.0.8 and later is preferred). If not already installed (verify with zsh –version), go to the procedures on this wiki page:
  • Installing wget or ZSH curl is necessary.
  • Installing git is necessary (v2.4.11 or higher is recommended).

Installation

In your terminal, type one of the following commands to install Oh My Zsh. This can be installed via wget, curl, or another command-line utility.

OhMyZsh
Curl:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Wget
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Fetch
sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Making Use Of OhMyZsh

Plugins

You can use the countless plugins that Oh My Zsh has. To find out what is currently accessible, check through the wiki, the plugins directory, or both.

Enabling Plugins

You must enable the plugin(s) in the.zshrc file after you have decided which one (or which ones) to use with Oh My Zsh. The zshrc file is located in the $HOME directory. When you open it in your preferred text editor, a list of all the plugins you wish to load will appear.

vi ~/.zshrc
plugins=(
  git
  bundler
  dotenv
  macos
  rake
  rbenv
  ruby
)

Web-Search OhMyZsh Plugin

Search aliases for Google, Wikipedia, Bing, YouTube, and other well-known services are added by this plugin.
To enable the web-search plugin, open your ~/.zshrc file and open it:

plugins=( ... web-search)

Contexts for searches that are available are:

ContextURL
binghttps://www.bing.com/search?q=
googlehttps://www.google.com/search?q=
brs or bravehttps://search.brave.com/search?q=
yahoohttps://search.yahoo.com/search?p=
ddg or duckduckgohttps://www.duckduckgo.com/?q=
sp or startpagehttps://www.startpage.com/do/search?q=
yandexhttps://yandex.ru/yandsearch?text=
githubhttps://github.com/search?q=
baiduhttps://www.baidu.com/s?wd=
ecosiahttps://www.ecosia.org/search?q=
goodreadshttps://www.goodreads.com/search?q=
qwanthttps://www.qwant.com/?q=
giverohttps://www.givero.com/search?q=
stackoverflowhttps://stackoverflow.com/search?q=
wolframalphahttps://wolframalpha.com/input?i=
archivehttps://web.archive.org/web/*/
scholarhttps://scholar.google.com/scholar?q=
askhttps://www.ask.com/web?q=
youtubehttps://www.youtube.com/results?search_query=
deeplhttps://www.deepl.com/translator#auto/auto/
dockerhubhttps://hub.docker.com/search?q=
npmpkghttps://www.npmjs.com/search?q=
packagisthttps://packagist.org/?query=
gopkghttps://pkg.go.dev/search?m=package&q=
Source – OhMyZsh

Also there are aliases for bang-searching DuckDuckGo:

ContextBang
wiki!w
news!n
map!m
image!i
ducky!
Souce – OhMyZsh

Frequently Asked Questions

  1. What is a web search plugin in Oh My Zsh?

    A web search plugin in Oh My Zsh allows you to directly search the web using your terminal window.

  2. How do I install a web search plugin in Oh My Zsh?

    You can install a web search plugin by adding the appropriate plugin to your Oh My Zsh configuration file.

  3. Can I customize the web search plugin in Oh My Zsh? 

    Yes, you can customize the web search plugin by editing the configuration settings in the plugin file.

  4. What are some popular web search plugins available for Oh My Zsh?

    Some popular web search plugins available for Oh My Zsh include Google, DuckDuckGo, and Bing.

  5. How do I use the web search plugin in Oh My Zsh? 

     To use the web search plugin, simply type the designated keyword followed by your search query in the terminal.

Don’t Forget to check other interesting blogs on Hackignblogs I’ll be coming again with more imformative just for my hacking community……

Keep Hacking Keep Learning !!

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top