/2021-how-to-get-and-filter-previously-executed-commands-macos/
https://tinytechtuts.com/2021-how-to-get-and-filter-previously-executed-commands-macos/