summaryrefslogtreecommitdiff
path: root/tmuxsh/_translate_shell,--.translate.any.language.to.english
diff options
context:
space:
mode:
Diffstat (limited to 'tmuxsh/_translate_shell,--.translate.any.language.to.english')
-rwxr-xr-xtmuxsh/_translate_shell,--.translate.any.language.to.english12
1 files changed, 12 insertions, 0 deletions
diff --git a/tmuxsh/_translate_shell,--.translate.any.language.to.english b/tmuxsh/_translate_shell,--.translate.any.language.to.english
new file mode 100755
index 0000000..8745388
--- /dev/null
+++ b/tmuxsh/_translate_shell,--.translate.any.language.to.english
@@ -0,0 +1,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
+