fz - Pipe commands to FZF
ffffffffffffffff
f::::::::::::::::f
f::::::::::::::::::f
f::::::fffffff:::::f
f:::::f ffffffzzzzzzzzzzzzzzzzz
f:::::f z:::::::::::::::z
f:::::::ffffff z::::::::::::::z
f::::::::::::f zzzzzzzz::::::z
f::::::::::::f z::::::z
f:::::::ffffff z::::::z
f:::::f z::::::z
f:::::f z::::::z
f:::::::f z::::::zzzzzzzz
f:::::::f z::::::::::::::z
f:::::::f z:::::::::::::::z
fffffffff zzzzzzzzzzzzzzzzz
fz is a simple Bash script to pipe commands to FZF so you can benefit from previewing, filtering, etc.
Just type fz followed by a valid command. Type fz --help to see the available commands.
- Get it:
Download the file named fz and make it executable.
# download fz to current folder
curl -O https://raw.githubusercontent.com/lfromanini/fz/main/bin/fz
# make it executable
chmod +x fz- Move it to a place in
${PATH}:
Choose a location from ${PATH}.
# check ${PATH}
tr ":" "\n" <<< "${PATH}" | sort --uniqueMove script to the choosen folder, for example:
mv fz ~/bin/Make sure to use sudo if moving to a system folder.
sudo mv fz /usr/local/bin/- Done!
The MIT License (MIT)