how can I make it so that the mac clear command clears the entire terminal code example
Example 1: macos clear terminal
clear && printf '\e[3J'
Example 2: clear terminal mac
Clear terminal on macOS: Command + K (alternatively type: clear)
clear && printf '\e[3J'
Clear terminal on macOS: Command + K (alternatively type: clear)