diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2023-05-06 18:09:17 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2023-05-06 18:09:17 -0500 |
| commit | b0e83140a24e94390edd2995d0090917795be6b0 (patch) | |
| tree | 54e50212af839b47360005ee503f49d1c281a84f /README.md | |
| parent | 242d5bbfc544d33fa7571a5327093b8207e390d8 (diff) | |
Fix cmd function
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
