ff

command module
v0.2.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 1 Imported by: 0

README

ff

ff is a command-line tool to manage favorite folders, creating an alias, to be used via shell directly with the cd command.

asciicast

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
  • ......

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL