Created
September 15, 2024 12:09
-
-
Save sovietspy2/dc74ad70c670c024be002e90a32ea68a to your computer and use it in GitHub Desktop.
LLM based terminal that accept natural language commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
printf "\033[91m⚙\033[0m ~ \033[97mTERMINAL\033[0m ~ \033[91m⚙\033[0m:\033[92mPRAY TO THE MACHINE SPIRIT!\033[0m" | |
echo "" | |
sleep 2 | |
text_param="$*" | |
tgpt -shell -y "$text_param" | |
# install: put this file to /usr/local/bin then chmod +x machinespirit | |
# usage: machinespirit Tell me the current time! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment