https://github.com/soup-ms/zsh-arc-search
Zsh plugin for little arc quick search
https://github.com/soup-ms/zsh-arc-search
Last synced: 2 months ago
JSON representation
Zsh plugin for little arc quick search
- Host: GitHub
- URL: https://github.com/soup-ms/zsh-arc-search
- Owner: soup-ms
- License: mit
- Created: 2025-01-23T05:39:51.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-29T04:16:21.000Z (4 months ago)
- Last Synced: 2025-03-07T02:22:55.619Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arc Search Plugin for Oh My Zsh
A Zsh plugin that enables quick searches using Arc browser directly from your terminal. Features URL encoding for search terms.
## Features
- Search web from terminal
- URL encoding for search terms
- Command completion
- Special character handling## Prerequisites
- Oh My Zsh
- Arc Browser## Installation
1. Clone this repository into your Oh My Zsh custom plugins directory:
```bash
git clone https://github.com/michaelsousajr/zsh-arc-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/arc-search
```2. Add the plugin to your `.zshrc`:
```bash
plugins=(... arc-search)
```3. Reload your shell:
```bash
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".
```## Usage
```bash
# 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
```## Testing
Run the test suite:
```bash
cd ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/arc-search/tests
./test_arc.zsh
```## Contributing
1. Fork the repository.
2. Create your feature branch:```bash
git checkout -b feature/amazing-feature
```3. Commit your changes:
```bash
git commit -m 'Add amazing feature'
```4. Push to the branch:
```bash
git push origin feature/amazing-feature
```5. Open a Pull Request.