# Packages
No description provided by the author
# README
fsac
Lightning fast fuzzy search utility for the terminal, the result of which can be easily provided as an argument to a custom command. This repo is intended to contain a collection of applications that make use of fsac.

How to install an fsac program
Make sure you have Go installed.
Option 1:
git clone
this repo and from the project's root directory:
$ make compile_dirsearch dest=path/to/my/bin.
Make sure that the executable is in your $PATH
.
Option 2:
Make sure you $GOPATH
is set, then run:
$ go get github.com/solidiquis/fsac/cmd/dirf
Wish to contribute by making an fsac program?
Again, this repo will contain a collection of programs which can be compiled independently. Here are the steps to follow if you wish to contribute:
- Make a new directory in
cmd/
named after your program. - Make your program and give it a short catchy name, kind of like
grep
and how it's short forglobal regular expression print
. - Add something like this to the top of your
main.go
:
// Installation:
// go get github.com/solidiquis/fsac/cmd/dirf
// Name:
// dirf -> (dir)ectory (f)ind
// Utility:
// Searches through directory tree from working directory and
// copies selection to clipboard.
- Add three new targets to the makefile, using
dirf
as a template:run
,debug
, &compile
.
Libraries that made this possible
- https://github.com/sahilm/fuzzy: Awesome string matching algorithm.
- https://github.com/solidiquis/ansigo: Convenient Go-wrapper for various ANSI escapes + keypress detection.