Skip to content
🧭 Navigating around your "frecently" used directories
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
cmd
pkg
.gitignore
.goreleaser.yml
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md
go.mod
go.sum
logo.svg
main.go

README.md

Test Release @khoiracle

Compass

Compass learns your habit, and help navigate to your "frecently used" directory.

Usage

By default, s is the key-binding wrapper around compass.

  • Fuzzily navigate to directory contains go and compass :
s compass
# ~/Workspace/go/src/github.com/khoi/compass
  • For more option refer to:
compass --help

Install

Use Homebrew:

brew install khoi/tap/compass

For development build:

go get github.com/khoi/compass

Add this to the end of your .zshrc or .bash_profile

eval "$(compass shell)"

For fish shell add the line below to your ~/.config/fish/config.fish

if type -q compass
  status --is-interactive; and source (compass shell --type fish -|psub)
end

If you want to use different key binding pass --bind-to to the compass shell command:

For instance, if you want to use z instead of s

eval "$(compass shell --bind-to z)"

Improvements

  • Add support for child queries. For instance: s go gallery

References

You can’t perform that action at this time.