updated docs

This commit is contained in:
Paul Gauthier 2024-01-23 12:58:29 -08:00
parent 3e96fda71a
commit c31f2313ba
2 changed files with 3 additions and 2 deletions

View file

@ -428,7 +428,7 @@ class Commands:
return self.cmd_run(args, True)
def cmd_run(self, args, add_on_nonzero_exit=False):
"Run a shell command and optionally add the output to the chat"
"Run a shell command and optionally add the output to the chat (alias: !)"
combined_output = None
try:
result = subprocess.run(

View file

@ -17,7 +17,8 @@
- `/git <command>`: Run a git command
## other
- `/run <command>`: Run a shell command and optionally add the output to the chat
- `/run <command>`: Run a shell command and optionally add the output to the chat, or use `!<command>`.
- `/test <command>`: Like run, but automatically adds the output to the chat on non-zero exit codes.
- `/voice`: Speak to aider to [request code changes with your voice](https://aider.chat/docs/voice.html).
# Prompt Toolkit defaults