How can I hide username and computer in terminal command prompt?
Is it possible to show current folder and $ sign?

|
How can I hide username and computer in terminal command prompt?
Is it possible to show current folder and
|
|||
|
Change your prompt in your ~/.bashrc file. The example you asked for would be:
It would result in the current folder you're in being shown plus a $ for the regular prompt and a # if you're root. Check out this guide for more examples of what you could show in your prompt. |
|||||||||||
|
:. BTW: I've changed the computer name in System Preferences -> Sharing to MBP. Now my login prompt is very short:mbp:~ matt$– gentmatt Dec 29 '11 at 7:27