Categorygithub.com/Reikimann/goNavigate
repositorypackage
0.0.0-20240722174701-40bbb4b8160d
Repository: https://github.com/reikimann/gonavigate.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

goNavigate (WIP)

goNavigate is a tool for quickly navigating specified directories

It is a CLI application, that allows a user to add directories to a list and quickly navigate them using fuzzy search.

Getting StartedInstallationConfiguration

Getting started

goNavigate add directory       # Adds the directory to the directory list
goNavigate add dir1 dir2 dirN  # Adds multiple directories to the dir-list

g                              # View dir-list and navigate to selected directory
goNavigate                     # View dir-list and print selected directory to STDOUT

Installation

GoNavigate is installed in just 2 steps:

  1. Compilation This program needs gcc to be built. It also the CGO_ENABLED=1 environment variable if not set by default.

The following command will install the program binary into to your GOPATH/bin or GOBIN directory.

go install github.com/Reikimann/goNavigate@latest
  1. Setup goNavigate in your shell To start using goNavigate, add it to your shell.
Zsh

Add this to the end of your config file (usually ~/.zshrc):

eval $(goNavigate init zsh)

Configuration

Flags

When calling the command goNavigate init, the following flags are available:

  • --cmd
    • Changes the prefix of the g command.
    • --cmd j will change the command to j.
  • --no-cmd
    • Prevents goNavigate from defining the g command.
    • The function __goNavigate_g will still be available in your shell as, should you choose to alias or keybind it.

Special Thanks

Zoxide - For showing how to organize code and use templating to initialize shell functions