Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSeyoung Kwak
9,091 PointsHow to change(customize) prompt in mac?
I tried to change the command line prompt in my macbook and the task seem like a lot more challenging than I thought. I tried:
nano .bashrc export PS1="\u\W$"
but got error message when I writeout(^o). Anyone knows how to change prompt or tell me what I did wrong? Thanks!
1 Answer
Ryan Duchene
Courses Plus Student 46,022 PointsGreat job on solving it! For everyone else, note that Macs do not use a .bashrc
file; they use the .bash_profile
file instead.
Seyoung Kwak
9,091 PointsSeyoung Kwak
9,091 PointsI actually found very useful information about the subject and changed my prompt!! http://www.ibm.com/developerworks/linux/library/l-tip-prompt/