feat: simplify fzf scripts and extract FZF_DEFAULT_OPTS

This commit is contained in:
2026-03-11 15:01:25 +01:00
parent 574a190468
commit f0aea1112a
5 changed files with 51 additions and 127 deletions

View File

@@ -4,13 +4,8 @@ if [[ $# -eq 1 ]]; then
selected=$1
else
selected=$(ggman ls \
| fzf --cycle \
--bind 'tab:toggle-up,btab:toggle-down' \
--header "Navigate with ARROW KEYS or TAB/S-TAB. Select with ENTER." \
--border "double" \
| fzf \
--border-label "tmux-sessionizer" \
--ansi \
--highlight-line \
)
fi