Navigate between directories using a terminal fuzzy finder
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
-
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
- 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
-
Pass the directory as an argument to
fn
command. For example, this will start searching from your current directoryfn .
-
In the "f.sh" script, edit the
dir
variable assignment from "~" to your own one. This will makefn
start searching from that directory by default