A Zsh plugin that enables quick searches using Arc browser directly from your terminal. Features URL encoding for search terms.
- Search web from terminal
- URL encoding for search terms
- Command completion
- Special character handling
- Oh My Zsh
- Arc Browser
-
Clone this repository into your Oh My Zsh custom plugins directory:
git clone https://github.com/michaelsousajr/zsh-arc-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/arc-search
-
Add the plugin to your
.zshrc
:plugins=(... arc-search)
-
Reload your shell:
source ~/.zshrc
Note: The name of this repo will differ from folder name in the zsh customs folder, if you decide to manully install you must change the folder name to "arc-search".
# Open Arc browser
arc
# Search in Arc
arc how to code
# Also search with case-sensitive commands
Arc how to code
ARC how to code
Run the test suite:
cd ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/arc-search/tests
./test_arc.zsh
-
Fork the repository.
-
Create your feature branch:
git checkout -b feature/amazing-feature
-
Commit your changes:
git commit -m 'Add amazing feature'
-
Push to the branch:
git push origin feature/amazing-feature
-
Open a Pull Request.