Skip to content

00msjr/zsh-arc-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

    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:

    plugins=(... arc-search)
  3. 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".
    

Usage

# 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:

cd ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/arc-search/tests
./test_arc.zsh

Contributing

  1. Fork the repository.

  2. Create your feature branch:

    git checkout -b feature/amazing-feature
  3. Commit your changes:

    git commit -m 'Add amazing feature'
  4. Push to the branch:

    git push origin feature/amazing-feature
  5. Open a Pull Request.

About

Zsh plugin for little arc quick search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages