Skip to content

Instantly share code, notes, and snippets.

View leosmaia21's full-sized avatar

Leonardo Maia leosmaia21

View GitHub Profile
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
_fzf_compgen_path() {
command find "$1" -L -mindepth 1 -type f
}
_fzf_compgen_dir() {
command find "$1" -L -maxdepth 1 -mindepth 1 -type d
}
export FZF_DEFAULT_OPTS='--bind tab:down,shift-tab:up'