Jump to content
Sign in to follow this  
wizzard

configure shell

Recommended Posts

that particular bit of your shell is the PS1 enviromental variable... you can set it like this:

 

export PS1="\[\033[01;33m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] "

 

Thats yellow with blue :)

 

If you like it then add the entry to the bottom of your "~/.bashrc" file..

 

Also I have a short howto hidden here ;)

http://www.abdn.ac.uk/~fac075/?howto

 

Note that

\033 == ^[ .. i'll need to add that to my howto...

Share this post


Link to post
Share on other sites
that particular bit of your shell is the PS1 enviromental variable... you can set it like this:

 

export PS1="\[\033[01;33m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] "

 

Thats yellow with blue :)

 

If you like it then add the entry to the bottom of your "~/.bashrc" file..

 

Also I have a short howto hidden here ;)

http://www.abdn.ac.uk/~fac075/?howto

 

Note that

\033 == ^[ .. i'll need to add that to my howto...

 

 

So how do I make my text GREEN :D!!

Share this post


Link to post
Share on other sites
So how do I make my text GREEN :D!!

 

32m = green .. so

 

export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] "

 

thats green and blue

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...