Fix shell_history parsing issue, when multiple terminals are writing the file and the numbers are out of order
Fix shell_history parsing issue, when multiple terminals are writing the file and the numbers are out of order

gomorpheus/morpheus-cli,bertramdev/morpheus-cli