You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 4, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: 16-ai.rc
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ function claude_helper {
39
39
--disallowed-tools Bash \
40
40
--strict-mcp-config \
41
41
-p \
42
-
"$prompt"
42
+
"$prompt" | bat --squeeze-blank --language=bash --theme Dracula --style=plain --paging=never
43
43
}
44
44
45
45
# Command-line helper with execution - runs commands when explicitly requested
@@ -50,12 +50,11 @@ function claude_helper_exec {
50
50
--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.' \
51
51
--strict-mcp-config \
52
52
-p \
53
-
"$prompt"
53
+
"$prompt" | bat --squeeze-blank --language=bash --theme Dracula --style=plain --paging=never
54
54
}
55
55
56
56
57
57
58
-
59
58
copilot-comments() {
60
59
# Function to list and display comments made by GitHub Copilot on the current PR
61
60
local -r current_branch="$(git branch --show-current 2>/dev/null)" || {
0 commit comments