diff --git a/sh/.config/sh/env b/sh/.config/sh/env index b2fd712..d6ff82d 100644 --- a/sh/.config/sh/env +++ b/sh/.config/sh/env @@ -46,3 +46,7 @@ export SHELL=${SHELL:-/bin/bash} if [ "$(find /usr/share/terminfo -name "$TERMINAL*" | wc -l)" -eq 0 ] || [ -z "$TERMINAL" ]; then export TERM=xterm fi + +if exist fzf; then + export FZF_DEFAULT_OPTS="--bind 'tab:toggle+down,shift-tab:toggle+up,ctrl-g:top,ctrl-t:toggle-preview,ctrl-d:preview-half-page-down,ctrl-u:preview-half-page-up' --color=light -1 -m --delimiter : --preview 'nl {1}' --preview-window +{2}-5" +fi