Module: Doing::PromptFZF

Included in:
Prompt
Defined in:
lib/doing/prompt/fzf.rb

Overview

Methods for working installing/using FuzzyFileFinder

Instance Method Summary collapse

Instance Method Details

#fzf ⇒ String

Get path to fzf binary, installing if needed

Returns:

  • (String) —

    Path to fzf binary

#install_fzf(force: false) ⇒ String

Install fzf on the current system. Installs to a subdirectory of the gem

Parameters:

  • force (Boolean) (defaults to: false) —

    If true, reinstall if needed

Returns:

  • (String) —

    Path to fzf binary

#uninstall_fzf ⇒ Object

Remove fzf binary

#which_fzf ⇒ String

Return the path to the fzf binary

Returns: