FZF || Linux Mint | Ubuntu | Debian | Fuzzy Finder

Описание к видео FZF || Linux Mint | Ubuntu | Debian | Fuzzy Finder

#linux #linuxmint #terminal #fzf #ubuntu

install fzf in ubuntu:
sudo apt install fzf

in .bashrc or .zshrc:

For bash:

Add fzf key bindings
source /usr/share/doc/fzf/examples/key-bindings.bash


For zsh:

Add fzf to PATH
export PATH=$PATH:~/.fzf
Load fzf key bindings
source /usr/share/doc/fzf/examples/key-bindings.zsh


#below code is for customize
show from top and preview the file/directory or anything else

export FZF_DEFAULT_OPTS='--layout=reverse --height=80% --preview "cat {} || tree -C {} | less"'

alias
alias lsf='ls | fzf'

Комментарии

Информация по комментариям в разработке