1
0
mirror of https://github.com/Morantron/tmux-fingers.git synced 2024-07-01 08:10:57 +02:00
tmux-fingers/test/specs/works-with-custom-bindings_spec.sh

21 lines
435 B
Bash
Executable File

#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $CURRENT_DIR/../tmuxomatic.sh
source $CURRENT_DIR/../helpers.sh
TMUX_PREFIX=C-space
tmuxomatic__begin begin_hook
begin_with_conf "custom-bindings"
init_pane
tmuxomatic__exec "cat ./test/fixtures/grep-output"
invoke_fingers
tmuxomatic send-keys "a"
echo_yanked
tmuxomatic__expect "yanked text is scripts/hints.sh"
tmuxomatic__end end_hook