title: Mac Terminal process ends and outputs [Process completed] when launched
body: <p>When I launch the Terminal app on Mac, the process will end and output the following:</p>
  
  <pre><code>Last login: Wed Aug  6 15:53:58 on ttys003
  
  [Process completed]
  </code></pre>
  
  <p>This started happening when terminal froze and I restarted it. From then on, this is the message that is displayed.</p>
  
  <p>I can change the Shell to <code>bin/sh</code> in Terminal's preferences, but this prevents me from using my <code>.bash_profile</code> script.</p>
  
  <p>Does anyone have any ideas or suggestions on how to fix this?</p>
  
  <p>Thanks!</p>
  
  <p>PS Here's my .bash_profile. I tried commenting it out and running Terminal and it still didn't work, but here is per request.</p>
  
  <pre><code>export PATH="/usr/local/mysql/bin:$PATH"
  
  ##
  # Your previous /Users/mjmitchener/.bash_profile file was backed up as /Users/mjmitchener/.bash_profile.macports-saved_2013-05-06_at_09:58:31
  ##
  
  # MacPorts Installer addition on 2013-05-06_at_09:58:31: adding an appropriate PATH variable for use with MacPorts.
  export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
  # Finished adapting your PATH environment variable for use with MacPorts.
  
  ### Added by the Heroku Toolbelt
  export PATH="/usr/local/heroku/bin:$PATH"
  
  ### Composer Vendor Paths
  export PATH="~/.composer/vendor/bin:$PATH"
  
  ### Bin Paths
  export PATH="bin:$PATH"
  
  ### Vendor Paths
  export PATH="vendor/bin:$PATH"
  
  ### Aliases
  #
  # Directories
  alias partways='cd ~/Sites/projects/PartWays/'
  alias trks='cd ~/Sites/projects/ThingsRichKidsSay/'
  alias forrest='cd ~/Sites/projects/rest-client/workbench/omniphx/forrest/'
  alias blog='cd ~/Sites/projects/blog'
  alias tinynews='cd ~/Sites/projects/tinynews'
  
  # Laravel Commands
  alias art='php artisan'
  alias l4project=''
  
  # Generator Stuff
  alias g:m="php artisan generate:model"
  alias g:c="php artisan generate:controller"
  alias g:v="php artisan generate:view"
  alias g:s="php artisan generate:seed"
  alias g:mig="php artisan generate:migration"
  alias g:r="php artisan generate:resource"
  
  
  # Node scripts
  alias node_serve='node ./scripts/web-server.js'
  
  #Git aliases
  alias ggraph='git log --oneline --all --graph --decorate'
  alias ga='git add'
  alias gaa='git add .'
  alias gau='git add -u'
  alias gco='git checkout'
  alias gst='git status'
  alias gc='git commit'
  alias gcm='git commit -m'
  alias gca='git commit -a'
  alias gcam='git commit -am'
  alias gls='git ls-tree HEAD'
  
  #PHPUnit
  
  #Vagrant
  alias vm='ssh vagrant@127.0.0.1 -p 2222'
  
  #Sqlite3
  alias db='sqlite3 app/database/production.sqlite'
  </code></pre>