@giladbarnea/pi-pretty-bash1.0.3
Syntax-highlight Bash tool calls and JSON output in Pi's TUI.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-pretty-bash
Bash tool calls should look like Bash.
pi-pretty-bash adds theme-aware syntax colors to Bash tool calls and JSON output in Pi's TUI.
Install
pi install npm:@giladbarnea/pi-pretty-bash
Start a new Pi session, or run /reload in the current session. Every later Bash tool call is highlighted automatically.
Bash commands and JSON output get syntax colors
The extension starts from Pi's complete built-in Bash definition. It highlights the visible command with Pi's Bash colors.
After a command finishes, the extension checks its complete output with JSON.parse(). Valid JSON gets Pi's JSON colors without reformatting. All other output keeps Pi's built-in rendering.
Pi still owns command execution, streaming output, timing, truncation, expansion, and error display.
Compatibility
pi-pretty-bash requires Pi 0.99.2 or newer.