/fzf-everything

Integrate fzf into some everyday tasks

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Fzf everything

My collection of scripts to integrate fzf into everyday tasks. Some of them is inspired from other people works

Installation

Download the script and put it in $PATH

An exception is sd

Browser History

Search and open google chrome history in a new tab

Requirements

  • google chrome
  • fzf
  • sqlite3

Demo

chromhist

Open Files

Open file (default is to search in $HOME)

Requirements

  • fzf
  • ripgrep
  • rifle (if you use xdg-open. add OPEN=xdg-open in ~/.bashrc)

Demo

open

Manpage

Search manpages. Type manfzf -u to create and update cache and manfzf -c to search in cache (slightly faster)

Requirements

  • fzf
  • vim (optional)

Demo

man

Kill

End process. Default is kill (signal 9)

Requirements

  • fzf

Demo

open

Change directory (sd)

cd meets fzf. sd means [s]earch [d]irectory

Requirements

  • fzf
  • fd

Setup

  • Download cd_fzf
  • Add this line in ~/.bashrc: source path/to/cd_fzf

Demo

sd

Pacman

pacman + fzf

Requirements

  • fzf
  • pacman
  • trizen (or other aur helper read from $AUR_HELPER)

Demo

pacfzf

Downgrade

Downgrade package using pacman package manager

Requirements

  • fzf
  • pacman

Demo

pacfzf

Credit & Related Works

Some ideas or part of code is taken from:

Licenses

BSD 3 Clauses