I know about this accepted change: https://fedoraproject.org/wiki/Changes/Color_Bash_Prompt
But what is this number that appears time to time in the prompt?
user@host:~$ ^C user@host:~130$ ^C
user@host:~$ foo bash: foo: command not found user@host:~127$
An exit code I suppose?
Ciao, A.
On Tue, 2023-09-12 at 17:20 +0000, Alessio wrote:
I know about this accepted change: https://fedoraproject.org/wiki/Changes/Color_Bash_Prompt
But what is this number that appears time to time in the prompt?
user@host:~$ ^C user@host:~130$ ^C
user@host:~$ foo bash: foo: command not found user@host:~127$
An exit code I suppose?
yeah, it seems to be the exit code of the last command if it's not 0.
It does seem that this change is beyond the scope disclosed in the Change, so that could possibly be brought up for discussion. Pulling in devel@ and the Change owner for comment. Jens, why was this feature not disclosed in the Change scope?