compass icon indicating copy to clipboard operation
compass copied to clipboard

🧭 Navigating around your "frecently" used directories

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)"

References