diff --git a/llm_cmd b/llmcmd similarity index 97% rename from llm_cmd rename to llmcmd index e4737a2..b901d96 100755 --- a/llm_cmd +++ b/llmcmd @@ -106,7 +106,7 @@ for code in soup.findAll('code'): console.print(Markdown(f"```bash\n{code}\n```")) print("--------------------------------------------------------") - answer = input("Would you like to run this code [N/y/e/d]:").lower() + answer = input("Would you like to run this code [N/y/e/q]:").lower() if answer == "y" or answer == "yes": print("\n") os.system(code) @@ -125,6 +125,6 @@ for code in soup.findAll('code'): os.system(f"{editor} {t.name}") os.system(f"bash {t.name}") os.system(f"rm -rf {t.name}") - elif answer == "d" or answer == "done": + elif answer == "q" or answer == "quit": exit()