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 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:
- Compilation
This program needs
gcc
to be built. It also theCGO_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
- 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 toj
.
- Changes the prefix of the
--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.
- Prevents goNavigate from defining the
Special Thanks
Zoxide - For showing how to organize code and use templating to initialize shell functions