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 macrumors regular

    kyle1320

    Joined:
    Apr 23, 2011
    Location:
    In my own little world
    #1
    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

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

    Joined:
    Aug 1, 2007
    Location:
    Antwerp, Belgium
    #3
    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