summaryrefslogtreecommitdiff
path: root/tmuxsh/_translate_eng_to_es,--.translate.english.to.spanish
blob: fb9a4be3d8f714725fedcc5e6bb02a4a9eef37b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
# AUTHOR: gotbletu (@gmail|twitter|youtube|github|lbry)
#         https://www.youtube.com/user/gotbletu
set -o vi
while true
do
  read -rep ">>> Translate English to Spanish: " INPUT
  history -s "$INPUT"
  trans en:es "$INPUT"
  printf "\n"
done