dots-of-war/files/scripts/tmuxAutocomplete.sh

5 lines
153 B
Bash
Raw Normal View History

2020-04-01 09:06:54 +00:00
#!/bin/bash
while read -r input; do
echo $input | sed 's/\s\+/\n/g' | sed -n '/.\{5\}.\+/p'
done | fzf --height 10 | tr -d '\n' | xargs tmux send-keys