summaryrefslogtreecommitdiff
path: root/tmuxsh/_translate_shell,--.translate.any.language.to.english
blob: 87453880d2db957b239ea6dc3095a37d1a812e5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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 Text: " INPUT
  history -s "$INPUT"
  trans "$INPUT"
  printf "\n"
done