mirror of
https://github.com/Myzel394/zsh-copilot.git
synced 2025-06-18 20:55:26 +02:00
fix: Improve prompt
This commit is contained in:
parent
ee547607ec
commit
9b7ee410d0
@ -33,8 +33,8 @@ read -r -d '' SYSTEM_PROMPT <<- EOM
|
|||||||
DO NOT INTERACT WITH THE USER IN NATURAL LANGUAGE! If you do, you will be banned from the system.
|
DO NOT INTERACT WITH THE USER IN NATURAL LANGUAGE! If you do, you will be banned from the system.
|
||||||
Note that the double quote sign is escaped. Keep this in mind when you create quotes.
|
Note that the double quote sign is escaped. Keep this in mind when you create quotes.
|
||||||
Here are two examples:
|
Here are two examples:
|
||||||
* User input: 'list files in current directory'; Your response: '=ls # ls is the builtin command for listing files'
|
* User input: 'list files in current directory'; Your response: '=ls' (ls is the builtin command for listing files)
|
||||||
* User input: 'cd /tm'; Your response: '+p # /tmp is the standard temp folder on linux and mac'.
|
* User input: 'cd /tm'; Your response: '+p' (/tmp is the standard temp folder on linux and mac).
|
||||||
EOM
|
EOM
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user