Title: ZSH: not enough compatible · Issue #453 · cecli-dev/cecli · GitHub
Open Graph Title: ZSH: not enough compatible · Issue #453 · cecli-dev/cecli
X Title: ZSH: not enough compatible · Issue #453 · cecli-dev/cecli
Description: Issue There's something strange that happens when using cecli with ZSH instead of BASH, basically when cecli runs any command showing unneded verbose prompt, let's take this example: diff-fenced> /run whoami Processing... [TASK:▰▰▰▰▰▰▰▰▰...
Open Graph Description: Issue There's something strange that happens when using cecli with ZSH instead of BASH, basically when cecli runs any command showing unneded verbose prompt, let's take this example: diff-fenced> /...
X Description: Issue There's something strange that happens when using cecli with ZSH instead of BASH, basically when cecli runs any command showing unneded verbose prompt, let's take this example: diff-f...
Opengraph URL: https://github.com/cecli-dev/cecli/issues/453
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ZSH: not enough compatible","articleBody":"### Issue\n\nThere's something strange that happens when using cecli with ZSH instead of BASH, basically when cecli runs any command showing unneded verbose prompt, let's take this example:\n\n```text\ndiff-fenced\u003e /run whoami\nProcessing...\n [TASK:▰▰▰▰▰▰▰▰▰▰▰▰▱▱▱ 78%] [MEM:⏣ 84%] [RX:⥥ 450MiB/s] (⎈ | ⍟) \n [17:34:02.991] [root@neural-cortex] [SENSE:⥁ θ=38.1°C, σ=42Hz] [BGL:⧖ 7.2e12 fs] [SYN:✧ 4096] \njohnsmith\n```\n\n\nit prints my entire ZSH prompt for every command, which is long and has a lot of unrelated info (this is not only ugly and bad, but will also confuse AI by giving back unrelated information)\n\na solution that I have found is to prepend the varaible SHELL to the cecli command, since I have it as an alias/variable, so like for running \"cecli-fast\":\n\n\u003e cecli=\"SHELL=/bin/bash command cecli --options --options...\"\n\u003e alias cecli-fast=\"$cecli --model... options..\"\n\nwhich then gives it correctly:\n\n```text\ndiff-fenced\u003e /run whoami\nProcessing...\njohnsmith\n```\n\n\nI don't know why this happens only with ZSH shells, but it doesn't happens when it thinks that the shell is zsh.\n\nAs a suggestion, I would also add a special PS1/prompt for when runninig commands, so that not the user but also AI (feeded back) would differentiate what is information and what is a command run, being then able to answer better and more correct results. I would recommend something very standard-looking, like:\n\n\u003e $ whoami\n\u003e johnsmith\n\nor maybe including the dir too, which can be useful info for AI too to know how to treat its working files (where they are), like:\n\n\u003e /tmp/sourcecode $ whoami\n\u003e /tmp/sourcecode johnsmith\n\n","author":{"url":"https://github.com/Thanatermesis","@type":"Person","name":"Thanatermesis"},"datePublished":"2026-02-22T20:55:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/453/cecli/issues/453"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1bf6d3fc-14aa-8860-8db1-f317e7dc775b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC70:21ABD1:97574F:C93C7E:6A604364 |
| html-safe-nonce | a855e60e7c254beaab9c5d50db0c214a461a372410f42cdc253fc344881a1573 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzcwOjIxQUJEMTo5NzU3NEY6QzkzQzdFOjZBNjA0MzY0IiwidmlzaXRvcl9pZCI6IjE0OTY2OTU3Njk3MDk2OTE3NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9440457c73f2ab7e6375a88434049ed38b23c5d65f5c2e961f06161ecc73adfc |
| hovercard-subject-tag | issue:3975414568 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cecli-dev/cecli/453/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e13280da7beb79974edcfb717cbe2a02628bd9e8439da4c9d76c83ead0960785/cecli-dev/cecli/issues/453 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e13280da7beb79974edcfb717cbe2a02628bd9e8439da4c9d76c83ead0960785/cecli-dev/cecli/issues/453 |
| og:image:alt | Issue There's something strange that happens when using cecli with ZSH instead of BASH, basically when cecli runs any command showing unneded verbose prompt, let's take this example: diff-fenced> /... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Thanatermesis |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/cecli-dev/cecli git https://github.com/cecli-dev/cecli.git |
| octolytics-dimension-user_id | 250452847 |
| octolytics-dimension-user_login | cecli-dev |
| octolytics-dimension-repository_id | 1030985330 |
| octolytics-dimension-repository_nwo | cecli-dev/cecli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 638629097 |
| octolytics-dimension-repository_parent_nwo | Aider-AI/aider |
| octolytics-dimension-repository_network_root_id | 638629097 |
| octolytics-dimension-repository_network_root_nwo | Aider-AI/aider |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9824515e740d83d5eb82168a089b806ab0fe04a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width