Add thumbs-pick command

This commit is contained in:
verschmelzen 2021-08-22 15:20:36 +03:00 committed by Ferran Basora
parent 017b8c654d
commit cf7495cd3b

View File

@ -7,7 +7,8 @@ DEFAULT_THUMBS_KEY=space
THUMBS_KEY="$(tmux show-option -gqv @thumbs-key)"
THUMBS_KEY=${THUMBS_KEY:-$DEFAULT_THUMBS_KEY}
tmux bind-key "${THUMBS_KEY}" run-shell -b "${CURRENT_DIR}/tmux-thumbs.sh"
tmux set-option -ag command-alias "thumbs-pick=run-shell -b ${CURRENT_DIR}/tmux-thumbs.sh"
tmux bind-key "${THUMBS_KEY}" thumbs-pick
BINARY="${CURRENT_DIR}/target/release/thumbs"