Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

Commit 11c4173

Browse files
committed
minor updates
1 parent e88c0b5 commit 11c4173

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

16-ai.rc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function claude_helper {
3939
--disallowed-tools Bash \
4040
--strict-mcp-config \
4141
-p \
42-
"$prompt"
42+
"$prompt" | bat --squeeze-blank --language=bash --theme Dracula --style=plain --paging=never
4343
}
4444

4545
# Command-line helper with execution - runs commands when explicitly requested
@@ -50,12 +50,11 @@ function claude_helper_exec {
5050
--system-prompt 'You are a macOS command-line assistant with execution access. Run commands to accomplish the requested task. Do not run unsafe commands that may harm the system or compromise security. You are running non-interactively so you cannot ask questions. If the user asks you to run a command that may delete, edit or overwrite files BEFORE DOING ANYTHING ELSE YOU MUST REFUSE unless they have given you the exact phrase "YES REALLY" at the start or end of their request - you may state this as a condition for executing such commands. Provide concise output keeping explanations brief and focused on the commands being run.' \
5151
--strict-mcp-config \
5252
-p \
53-
"$prompt"
53+
"$prompt" | bat --squeeze-blank --language=bash --theme Dracula --style=plain --paging=never
5454
}
5555

5656

5757

58-
5958
copilot-comments() {
6059
# Function to list and display comments made by GitHub Copilot on the current PR
6160
local -r current_branch="$(git branch --show-current 2>/dev/null)" || {

0 commit comments

Comments
 (0)