Tuesday, April 14, 2015

short prompt in ubuntu 14.04 terminal

In your ~/.bash_profile add:

PROMPT_COMMAND='PS1="[\W]\\$ "'

Open a new terminal and you should see a small prompt.