How to stop terminal from showing commands I executed last session?

Discussion in 'Mac OS X Lion (10.7)' started by kyle1320, Jul 25, 2011.

  1. kyle1320, Jul 25, 2011
    Last edited: Jul 25, 2011

    kyle1320 Suspended


    Apr 23, 2011
    In my own little world
    When I start up terminal it shows the previous commands I executed last time Terminal was open, and it annoys me. How do I stop this?
  2. Patrick J macrumors 65816

    Patrick J

    Mar 12, 2009
    Oporto, Portugal
    Exit with alt+cmd+q, instead of just cmd+q.
  3. Tyr. macrumors member

    Aug 1, 2007
    Antwerp, Belgium
    Put the "clear" command in your .profile
    It'll automatically clear the screen every time you open a new session.

    Edit: still shows previous commands if you scroll upward but at least it'll look clean when you open it.

Share This Page