Guest User

Untitled

a guest
Mar 24th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/bin/bash
  2. #usage: source colorme.sh [color]
  3.  
  4. color='37'
  5. if [ $# -ge 1 ]; then
  6. color="$1"
  7. fi;
  8.  
  9. export PS1="\[\033[1;${color}m\][\u@\h \W]\$ \[\033[0m\]"
Add Comment
Please, Sign In to add comment