An open API service indexing awesome lists of open source software.

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

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.