summaryrefslogtreecommitdiff
path: root/tmuxsh/_translate_shell,--.translate.any.language.to.english
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-06-15 15:58:59 -0500
committerluxagraf <sng@luxagraf.net>2023-06-15 15:58:59 -0500
commitab987e10f154f5536bb8fd936ae0966e909fa969 (patch)
tree9de5076f38b71ececb1bc94f8d9d19170898d603 /tmuxsh/_translate_shell,--.translate.any.language.to.english
added all my scriptssynced/master
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
+