dots-of-war/eggs/scripts/autocompleteWords.sh
2024-12-16 18:19:49 +01:00

5 lines
169 B
Bash
Executable file

#!/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' | kitty @send-text --stdin -m "id:$1"