Skip to content

A cli for quickly finding project directories with fuzzy matching

Notifications You must be signed in to change notification settings

kevin-cantwell/nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note:

Pretty much the same functionality (maybe even better) can be achieved with a short fd + fzf script:

cdi() {
    root=`git rev-parse --show-toplevel 2>/dev/null || echo $HOME`
    newdir=`{ echo $root; fd -t d . $root; } | fzf --layout=reverse || echo '.'`
    cd $newdir
}

nav

A cli for quickly finding project directories with fuzzy matching

Usage

go get -u github.com/kevin-cantwell/nav
alias cdi='cd "$(nav)"'

cd $PROJECT_DIR
cdi

This will start a terminal gui that is fairly self-explanatory.

About

A cli for quickly finding project directories with fuzzy matching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages