Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 831 Bytes

File metadata and controls

50 lines (32 loc) · 831 Bytes

commandfinder

A command not found handler for arch linux based systems that is light as air


Dependencies

  • ripgrep
  • pacman (duh)
  • pkgfile

Installation

Download

First, download and install commandfinder.
Commandfinder is preinstalled and preconfigured on instantOS, so there is no need to mess with it there.

git clone https://github.com/instantOS/commandfinder
cd commandfinder
sudo make install

Shell setup

In order to use commandfinder it is required to tell the shell to use it to handle command-not-found events.

Zsh

Put the following at the end of your ~/.zshrc

command_not_found_handler() {commandfinder $@}

Bash

Put the following at the end of your ~/.bashrc

command_not_found_handle() {commandfinder $@}

TODO

monthly regenerate cache