2

How can i make my shell prompt read:

<pwd>$                 <time of day>
wonea
  • 1,877
JAM
  • 489

1 Answers1

2

Put something like this in your .bashrc or .bash_profile (changed from yours, as I wasn't sure how that would make sense!)

export PS1="\t \w $ "

Personally, I use:

export PS1="\t@\d  ─────────────────────────────────────────────────────────────────────────────────────────────\n│ \w \n└─> "

That might give you a hand getting things to look right.

Once you've added it to your .bashrc file, remember to run source ~/.bashrc to make it work.