Currently the terminal prompt looks like this:

[karlis@karlis-desktop current_folder]$

How can I minimize the prompt, so that it only shows $ or # without extra info in square brackets?

I checked the preferences for the default Gnome-Terminal and Terminator - there are no settings for this. It is pretty hard to use terminal when working in directories with long names.

link|improve this question

50% accept rate
feedback

1 Answer

up vote 4 down vote accepted

Modify $PS1.

link|improve this answer
Thank you! Very useful link :) – skazhy Oct 26 '10 at 8:55
The only thing I would recommend is to use tput instead of the raw escape sequences. You can do fancier things that way as well. – Ignacio Vazquez-Abrams Oct 26 '10 at 8:59
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.