#!/bin/bash while read -ep"say> " line; do history -s "$line" { espeak -w >(mpv -) "$line"; } > /dev/null 2>&1 done echo