JoshCheek / miniature-octo-ironman

It's small. It had 8 legs. It sells weapons of mass comprehension to the most eager learner!
4 stars 4 forks source link

Fancier prompt on server #39

Closed JoshCheek closed 9 years ago

JoshCheek commented 9 years ago

Right now it's ick.

Seems to be some good info about the PS1 format string here, and info about coloring is here. Doesn't need to be too fancy, just a splash of colour would go a long way.

JoshCheek commented 9 years ago

Fixed it by uncommenting this force_color_prompt=yes

screenshot 2014-10-17 14 08 18

Which causes the prompt to look like this:

screenshot 2014-10-17 14 08 37

miniature-octo-ironman@octo-ironman:~$ echo "$PS1"
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$