Closed bend-n closed 2 years ago
@bend-n fish does say that command is valid (see the color). I'm using fish daily and the exit segment works, I'm wondering if this is how fish interprets things rather than being a bug.
@JanDeDobbeleer I think the color is just if its a valid path... How do you make the exit segment nonzero?
🪲 Bug confirmed. Related code:
The error code will always be 0 since the previous command printf \e\[0J
never fails. Easy to fix. I'll submit a PR.
@lewis-yeung can't believe I missed that 🤦🏻
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
Exit code segment always 0
fish: bash:
Theme
What OS are you seeing the problem on?
Linux
Which shell are you using?
fish
Log output