From 883fe86bb9be501df1dfec94fd6a0fc81b9a8602 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Sat, 6 May 2023 18:09:17 -0500 Subject: Fix cmd function --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ec929e4..35096be 100644 --- a/README.md +++ b/README.md @@ -237,12 +237,12 @@ function cmd { local prompt="" - prompt="${prompt}Suggest a command to be run in the $shell to accomplish the following task:\n" - prompt="${prompt}$request\n" - prompt="${prompt}Please output the command and a short description\n" + prompt="${prompt}Suggest a command to be run in the $shell to accomplish the following task:\n\n" + prompt="${prompt}$request\n\n" + prompt="${prompt}Please output the command and a short description\n\n" if [ -n "${os}" ] || [ -n "${kernel}" ]; then - prompt="${prompt}Here is some additional info about the system:${os}${kernel}" + prompt="${prompt}Here is some additional info about the system:\n\n${os}${kernel}" fi printf "$prompt" | gpt-chat-cli -- cgit v1.2.3