Closed blueman007 closed 1 year ago
It's an implementation choice of acting on the return exit code of command: https://github.com/ricklamers/shell-ai/blob/6815efda0c1f490a32e06a773268254fd78f688b/shell_ai/main.py#L107
I thought it was pretty unix-y but agree in this example it's a bit annoying perhaps. I'll probably leave it like this though.
When I try a simple ls command, I got this error message:
It seems that if part of the command fail, I end uo with this error message instead of the usual empty string. Any idea why ?