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

#fzfString

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_fzfObject

Remove fzf binary

#which_fzfString

Return the path to the fzf binary

Returns: