SOLVED:How do I make my Bash prompt look like this?

Forum rules
Before you post please read this

SOLVED:How do I make my Bash prompt look like this?

Postby penguin7009 on Thu Feb 21, 2013 12:28 pm

Hi all and thank you for this great place to use and discuss Mint :D

Does anyone know how they did this to the terminal in the attached :?:
I would ask this on the Comfusion forums but its in Spanish and I can't figure out how to register.

Thanks penguin

Mate-terminal-edit.jpg
Mate-terminal-edit.jpg (31.11 KiB) Viewed 1092 times
Last edited by penguin7009 on Thu Feb 21, 2013 1:14 pm, edited 1 time in total.
penguin7009
Level 1
Level 1
 
Posts: 11
Joined: Sun Apr 15, 2007 9:11 pm

Linux Mint is funded by ads and donations.
 

Re: How do I make my Bash prompt look like this?

Postby xenopeek on Thu Feb 21, 2013 12:47 pm

Moved here and updated your topic title to reflect better the question you are asking.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14890
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How do I make my Bash prompt look like this?

Postby penguin7009 on Thu Feb 21, 2013 1:12 pm

HI all, OK got it solved:

GOTO your home folder/view/show hidden:

Open .bashrc

Paste this at the very bottom of the file:

PS1='\[\e[1m\]┌─[\[\033[0;47;30m\]User-Terminal\[\033[0;43;91m\]•\[\033[0;101;31m\]•\[\033[0;41;91m\]•\[\033[0;0m\]]──[$PWD] \n\[\e[1m\]└─[\$]\[\e[0m\] '

After that save and your command prompt will be glorified :D

penguin
penguin7009
Level 1
Level 1
 
Posts: 11
Joined: Sun Apr 15, 2007 9:11 pm


Return to Scripts & Bash

Who is online

Users browsing this forum: No registered users and 2 guests