ff
ff is a command-line tool to manage favorite folders, creating an alias, to be used via shell directly with the cd command.
Installation
Prebuilt binary
Download the prebuilt binary from here and run the following command:
tar -xf <prebuilt_archive> ff && sudo mv ff /usr/local/bin
Nest add the following line to ~/.zshrc
or ~/.bashrc
:
source "$(ff alias)"
Update
For update the installed version of ff, run the following command:
ff self-update
Usage
$ ff
ff is a command-line tool to manage favorite folders, creating an alias,
to be used via shell directly with the cd command.
Usage:
ff [command]
Available Commands:
add Create a directory alias
alias Prints out the path to the alias file.
delete Delete a directory alias.
get Return the raw path of an alias.
help Help about any command
list List saved aliases.
panic WARINING!! This delete all saved data
self-update Update ff to the latest version.
update Update a directory alias
Flags:
-h, --help help for ff
-v, --version version for ff
Use "ff [command] --help" for more information about a command.
TODO
- clean up the code
- use GitHub workflow to build the binary
- use github.com/manifoldco/promptui for edit command
- make a better readme
- windows support
- ……