How to set up a shell prompt in MacBook laptop

by Victor M. Ponce [150422 12:00]



  • Shell prompt file bashrc resides in ponce@ion.sdsu.edu:/usr/local/apache/htdocs/ponce/

  • Log in to laptop

  • In laptop home directory, do:

       scp ponce@ion.sdsu.edu:/usr/local/apache/htdocs/ponce/bashrc .

       Now bashrc resides in laptop home

  • Become superuser in laptop

       sudo bash

       Password: XXXXX (laptop admin)

  • cp bashrc /etc

  • Check to see that bashrc resides in /etc

  • Open up a new shell to refresh shell