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 trial

Development Tools Console Foundations Environment and Redirection Environment Variables

Fabio Souza
Fabio Souza
6,946 Points

When I type "env" in mac terminal I could't find the PS1 variable. When I do "echo $PS1" I have this > See inside

When I type "env" in mac terminal I could't find the PS1 variable. When I do "echo $PS1" I have this > ${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)

And I dont have what I see in the video lesson like "/u /w"

Oliver Duncan
Oliver Duncan
16,642 Points

Not sure, but it looks like your prompt has been changed by either you or another program. Many coding schools will do this for you when you download their software. Look for a file called .bash_profile in your home folder, and open it in your favorite text editor. There you should see a line (or two) setting either the PS1 variable or something like it (maybe PROMPT_COMMAND). If you want to start fresh, just remove the line and restart your terminal. Then you'll hopefully be back to a standard prompt.