Nice Bash prompt


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Set the prompt
  2. GREEN="\[\033[0;32m\]"
  3. GRAY="\[\033[0;37m\]"
  4. CYAN="\[\033[0;36m\]"
  5. RED="\[\033[0;31m\]"
  6. NO_COLOR="\[\033[0m\]"
  7. PS1="$GRAY[$GREEN\h$GRAY:$CYAN\w$GRAY]$ $NO_COLOR"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.