nix-conf-zsh/zsh/fzf-settings/fzf-settings.plugin.zsh
2021-11-16 16:17:57 +02:00

3 lines
173 B
Bash

export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
export FZF_CTRL_T_OPTS="(highlight -O ansi -l {} 2> /dev/null || cat {} || tree -C {}) 2> /dev/null | head -200'"