fj is a command-line tool that allows you to quickly navigate to frequently used directories using aliases.
To use fj, simply type fj <ALIAS> in your terminal to navigate to the directory associated with the specified alias.
-c,--complete: Displays a list of available completions for the provided alias, allowing you to choose from them interactively (requires gum but you could just replace it in the fj shell function).
Example:
fj projects -c
- Clone this repository to your local machine:
git clone https://github.com/pders01/fj.git- Change into the directory:
cd fj- Build the executable:
make- Install fj:
make install- Source your shell configuration:
$ source ~/.{bashrc,zshenv}- Add some aliases to your
$HOME/.alias.d/pathsfile.
alias projects=$HOME/ProjectsIf you use anything other than bash or zsh just tweak the shell function to your needs.