Posted By

gtcaz on 06/13/07


Tagged

Bash prompt PS1


Versions (?)

Prompt ideas for ngungo


 / Published in: Bash
 

  1. # Set the prompt
  2. GREEN="\[\033[0;32m\]"
  3. GRAY="\[\033[0;37m\]"
  4. CYAN="\[\033[0;36m\]"
  5. NO_COLOR="\[\033[0m\]"
  6. export PS1="$GRAY[$GREEN\u$GRAY@$CYAN\h$GRAY]$ $NO_COLOR"

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: gtcaz on June 13, 2007

You need to login to post a comment.