Whenever I open a terminal, the last used commands appear.
I'd like to get a clean terminal when I open it, but I haven't found how to do it.
For example if while using the terminal I do:
defaults write com.apple.Finder...etc
and then I close the terminal. Next time I open the terminal I will see this same line grayed out (to indicate it's a command I used last time I opened the terminal) and a line to start writing underneath.
clear
to a proper output window clearing command on my machine. Will look it up in about six hours unless someone else provides an answer before then.