~gpanders/dotfiles

ref: 67485cdda638a7b21aecf3fbab4140b712b496a9 dotfiles/fish/.config/fish/conf.d/fzf.fish -rw-r--r-- 432 bytes
67485cddGreg Anders Change back to fzf from fzy 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
if command -sq fzf
    if command -sq fd
        set -gx FZF_FIND_FILE_COMMAND "fd --type f --hidden --follow --exclude .git"
        set -gx FZF_CD_COMMAND "fd -t d"
    else if command -sq rg
        set -gx FZF_FIND_FILE_COMMAND "rg --files --hidden --glob '!.git'"
    else if command -sq ag
        set -gx FZF_FIND_FILE_COMMAND "ag -g ''"
    end

    set -gx FZF_DEFAULT_OPTS "--height=10 --reverse --no-info --color=16"
end