/[smecontribs]/rpms/advancedprompt/contribs10/coloured.sh
ViewVC logotype

Diff of /rpms/advancedprompt/contribs10/coloured.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by brianr, Sun Oct 18 07:40:21 2020 UTC Revision 1.2 by jpp, Wed Feb 24 05:04:13 2021 UTC
# Line 1  Line 1 
1  # set prompt: ``username@hostname:/directory $ ''  # set prompt: ``username@hostname:/directory $ ''
2    
3  PS1="[\[\e[1;32m\]\u\[\e[m\]@\[\e[0;31m\]\H.$(dnsdomainname)\[\e[m\]:\[\e[0;33m\]\w\[\e[m\]]"  PS1="[\[\e[1;32m\]\u\[\e[m\]@\[\e[0;31m\]\h.$(dnsdomainname)\[\e[m\]:\[\e[0;33m\]\w\[\e[m\]]"
4  case `id -u` in  case `id -u` in
5        0) PS1="${PS1}# ";;        0) PS1="${PS1}# ";;
6        *) PS1="${PS1}$ ";;        *) PS1="${PS1}$ ";;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed