bhupixb

Customized terminal .bashrc file

May 30th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # PS1="\w \n $ "
  2. orange=$(tput setaf 166);
  3. yellow=$(tput setaf 228);
  4. green=$(tput setaf 71);
  5. white=$(tput setaf 15);
  6. bold=$(tput bold);
  7. reset=$(tput sgr0);
  8.  
  9. PS1="\[${bold}\]\n";
  10. PS1+="\[${orange}\]\u"; #username
  11. PS1+="\[${white}\]@";
  12. PS1+="\[${yellow}\]\h"; #host
  13. PS1+="\[${white}\] in ";
  14. PS1+="\[${green}\]\w"; #working directory
  15. PS1+="\[${white}\]\n\$ \[${reset}\]";
  16. export PS1;
Add Comment
Please, Sign In to add comment