Skip to content
/ finder Public

A script for navigating between directories using a terminal fuzzy finder

Notifications You must be signed in to change notification settings

Ihor16/finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

finder

Navigate between directories using a terminal fuzzy finder

demo.gif

The script uses fzf to navigate to any visible directory from anywhere in your file system. The default base directory is "home", but you can specify your starting directory as a parameter

How to set up

  • Clone the repository

    git clone https://github.com/Ihor16/finder.git
  • Installe the "fzf" package as described here. For example, run

    sudo apt-get update && sudo apt-get install fzf
  • Run the "setup.sh" script

    ./setup.sh

The "setup.sh" script is documented, so you can take a look at what exactly it does

How to use

Default behavior:

  • Type fn and start typing the name of the directory you want to go to. This will filter through all visible directories that start at "home" and navigate to where you want

Change a directory from where the search starts:

  • Pass the directory as an argument to fn command. For example, this will start searching from your current directory

    fn .
  • In the "f.sh" script, edit the dir variable assignment from "~" to your own one. This will make fn start searching from that directory by default

About

A script for navigating between directories using a terminal fuzzy finder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages