Color shell prompt


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

insert this to home directory .bashrc file


Copy this code and paste it in your HTML
  1. export PS1="\[\e[33m\][\!]\[\e[0m\]\[\e[33;1m\][\u:\h \[\e[32;1m\]\w\[\e[33;1m\]] \[\e[0m\]"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.