What happens when there are two history entries with identical pwd and command line BUT with a different exit code?
I'm suspecting that if the record with an error (non-zero exit code) comes first it could shadow the record without an exit code. This would penalize the record even though there are instances where it has run successfully.
What happens when there are two history entries with identical
pwd
and command line BUT with a different exit code?I'm suspecting that if the record with an error (non-zero exit code) comes first it could shadow the record without an exit code. This would penalize the record even though there are instances where it has run successfully.